repo.or.cz
/
merb_mart.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Continued work on various models and specs
[merb_mart.git]
/
spec
/
authenticated_system_spec_helper.rb
blob
ecd2d68952bfb81ef2fdbaab39a0068c720416cc
1
Merb::Config.use do |c|
2
c[:session_store] = "memory"
3
end
4
5
class Merb::Mailer
6
self.delivery_method = :test_send
7
end
8
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