Created
March 20, 2012 19:39
-
-
Save KensoDev/2140376 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it "should write to cashier when I call Rails.cache.write with tags" do | |
cashier.should_receive(:store_fragment).with("foo", ["some_tag"]) | |
subject.write("foo", "bar", :tag => ["some_tag"]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment