spec/amfetamine/base_spec.rb in amfetamine-0.4.1 vs spec/amfetamine/base_spec.rb in amfetamine-0.4.2
- old
+ new
@@ -9,11 +9,11 @@
it 'passes :expires_in option to Dalli::Client' do
options.should include(:expires_in)
end
- specify 'exires_in option is set to an integer value' do
- options[:expires_in].should be_an_integer
+ specify 'exires_in option is set by default to 10 minutes' do
+ options[:expires_in].should eq(10.minutes)
end
end
describe "Dummy, our ever faitful test subject" do
# Some hight level tests, due to the complexity this makes it a lot easier to refactor