spec/lib/results_spec.rb in picky-4.12.1 vs spec/lib/results_spec.rb in picky-4.12.2
- old
+ new
@@ -17,15 +17,15 @@
describe "ids" do
before(:each) do
@allocations = stub :allocations
@results = described_class.new :unimportant, :amount, :unimportant, @allocations
end
- it "delegates" do
+ it "forwards" do
@allocations.should_receive(:ids).once.with :anything
@results.ids :anything
end
- it "delegates and uses amount if nothing given" do
+ it "forwards and uses amount if nothing given" do
@allocations.should_receive(:ids).once.with :amount
@results.ids
end
\ No newline at end of file