Skip to content

Commit

Permalink
Remove redundant spec
Browse files Browse the repository at this point in the history
  • Loading branch information
soulcutter authored and JonRowe committed Apr 17, 2013
1 parent 330989f commit 4f6f367
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions spec/rspec/core/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1136,14 +1136,7 @@ def metadata_hash(*args)
it "stores require paths" do
config.should_receive(:require).with("a/path")
config.requires = ["a/path"]
expect(config.requires).to eq(['a/path'])
end
end
describe '#requires' do
it "requires paths" do
config.should_receive(:require).with("a/path")
config.requires = ["a/path"]
expect(config.requires).to eq ["a/path"]
expect(config.requires).to eq ['a/path']
end
end

Expand Down

0 comments on commit 4f6f367

Please sign in to comment.