intridea/rails_wizard — Issue #44: Yaml spec not passing with Ruby 1.9.3
Author: simonc
Created: 2012-03-05 14:02:21+00:00
State: open

I just tried to run the spec with Ruby 1.9.3 and got the following error:

1) RailsWizard::Config#initialize should error on invalid question type
Failure/Error: lambda{ subject }.should raise_error(ArgumentError)
expected ArgumentError, got #): couldn't parse YAML at line 1 column 12>
# ./spec/rails_wizard/config_spec.rb:33:in `block (3 levels) in '

I guess it's due to the change of Yaml engine in Ruby 1.9.3. Maybe the spec should not specify the raised error.