spec/spec_helper.rb in mongo_rack-0.0.4 vs spec/spec_helper.rb in mongo_rack-0.0.5

- old
+ new

@@ -9,10 +9,10 @@ Spec::Runner.configure do |config| end def mongo_check( res, key, val ) session_id = res['Set-Cookie'].match( /^#{@session_key}=(.*?);.*?/ )[1] - result = @sessions.find_one( { :_id => session_id } ) + result = @sessions.find_one( { :_id => session_id } ) result.should_not be_nil ses = YAML.load( result['data'] ) ses[key.to_s].should == val end \ No newline at end of file