Continued work on various models and specs
[merb_mart.git] / spec / authenticated_system_spec_helper.rb
blobecd2d68952bfb81ef2fdbaab39a0068c720416cc
1 Merb::Config.use do |c|
2   c[:session_store] = "memory"
3 end
5 class Merb::Mailer
6   self.delivery_method = :test_send
7 end
9 class Hash
10   
11   def with( opts )
12     self.merge(opts)
13   end
14   
15   def without(*args)
16     self.dup.delete_if{ |k,v| args.include?(k)}
17   end
18   
19 end