Permalink
Browse files

Specs passing for 1.9.3.

  • Loading branch information...
1 parent d256b1e commit 0a0d612a7bdd77a4726234527c0dbca2c892c247 @jnunemaker committed Dec 31, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/adapter/defaults_spec.rb
@@ -17,14 +17,14 @@
end
it "marshals anything not a string or symbol" do
- mod.key_for({'testing' => 'this'}).should == %Q(\004\b{\006\"\ftesting\"\tthis)
+ mod.key_for({'testing' => 'this'}).should == Marshal.dump({'testing' => 'this'})
end
end
describe "#encode" do
it "marshals value" do
- mod.encode(nil).should == "\004\b0"
- mod.encode({'testing' => 'this'}).should == %Q(\004\b{\006\"\ftesting\"\tthis)
+ mod.encode(nil).should == Marshal.dump(nil)
+ mod.encode({'testing' => 'this'}).should == Marshal.dump({'testing' => 'this'})
end
end

0 comments on commit 0a0d612

Please sign in to comment.