Permalink
Browse files

Remove commented-out spec code

  • Loading branch information...
1 parent ea2285d commit 2c40a9715db7aee2b075e5a04f2d54e8745d8237 @bowsersenior bowsersenior committed Jan 7, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −1 lib/yacht/loader.rb
  2. +0 −6 spec/yacht/loader_spec.rb
View
@@ -104,4 +104,4 @@ def chain_configs(config, env)
end
# Alias for Yacht::Loader for backwards compatibility
-Object.const_set(:YachtLoader, Yacht::Loader)
+Object.const_set(:YachtLoader, Yacht::Loader)
@@ -181,12 +181,6 @@
end
describe :whitelist do
- # before do
- # subject.stub(:base_config).and_return(mock_base_config)
- # subject.stub(:local_config).and_return({})
- # subject.stub(:whitelist).and_return([:color_of_the_day])
- # end
-
it "raises an error if load_config_file returns nil" do
subject.stub(:load_config_file).with(:whitelist, :expect_to_load => Array).and_return(nil)

0 comments on commit 2c40a97

Please sign in to comment.