spec/unit/fixture_spec.rb in stale_fish-1.3.0.pre3 vs spec/unit/fixture_spec.rb in stale_fish-1.3.0

- old
+ new

@@ -35,11 +35,11 @@ end it "should return false when fresh" do @fresh_fixture.is_stale?.should == false end - + it "should return true when last_updated_at is empty" do @stale_fixture.last_updated_at = nil @stale_fixture.is_stale?.should == true end end @@ -56,15 +56,15 @@ @fixture.update! @fixture.last_updated_at.should be_a(DateTime) end it "should use Net::HTTP#get with a GET request_type" - + it "should call update_method when present" do @fixture.update_method = "CONSTANT" @fixture.should_receive(:update_by_method).once @fixture.update! - + end end context "#register_lock!" do before do