Skip to content

Commit

Permalink
Forgot to check for the profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
kofno committed Feb 27, 2010
1 parent 0f6b397 commit 983fc93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/cucumber/cli/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def reset_config
config.parse!([])
config.options[:require].should == ['from/yml']
end

it "parses ERB syntax in the cucumber.yml file" do
given_cucumber_yml_defined_as({'default' => '<%="--require some_file"%>'})

Expand All @@ -154,6 +154,7 @@ def reset_config
ERB_YML

config.parse!(%w(-p standard))
config.options[:require].should include('some_file')
end

it "provides a helpful error message when a specified profile does not exists in cucumber.yml" do
Expand Down

0 comments on commit 983fc93

Please sign in to comment.