Skip to content

Commit

Permalink
space
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Kallen committed Dec 12, 2008
1 parent b40cfff commit 5c9cef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/cash/accessor_spec.rb
Expand Up @@ -101,15 +101,15 @@ module Cash
end
end
end

describe '#add' do
describe 'when the value already exists' do
it 'yields to the block' do
Story.set("count", 1)
Story.add("count", 1) { "yield me" }.should == "yield me"
end
end

describe 'when the value does not already exist' do
it 'adds the key to the cache' do
Story.add("count", 1)
Expand Down
2 changes: 1 addition & 1 deletion spec/cash/finders_spec.rb
Expand Up @@ -12,7 +12,7 @@ module Cash
Story.find(story.id).should == story
end
end

describe '#find(object)' do
it 'uses the objects quoted id' do
story = Story.create!
Expand Down

0 comments on commit 5c9cef1

Please sign in to comment.