singem 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,29 +1,19 @@
|
|
1
|
-
|
1
|
+
require "bundler/setup"
|
2
|
+
Bundler.require(:default, :test)
|
2
3
|
|
3
4
|
require File.join(File.dirname(__FILE__), '..', 'lib', '<%= name %>')
|
4
5
|
|
5
|
-
#require 'dm-core'
|
6
|
-
#require 'dm-sweatshop'
|
7
|
-
require 'pp'
|
8
|
-
|
9
|
-
FakeWeb.allow_net_connect = false
|
10
|
-
|
11
|
-
#require File.dirname(__FILE__)+'/fixtures'
|
12
|
-
#DataMapper.setup(:default, 'sqlite3::memory:')
|
13
|
-
|
14
6
|
Webrat.configure do |config|
|
15
7
|
config.mode = :rack
|
16
8
|
config.application_port = 4567
|
17
9
|
end
|
18
10
|
|
19
|
-
|
11
|
+
RSpec.configure do |config|
|
20
12
|
config.include(Rack::Test::Methods)
|
21
13
|
config.include(Webrat::Methods)
|
22
14
|
config.include(Webrat::Matchers)
|
23
15
|
|
24
16
|
config.before(:each) do
|
25
|
-
#DataMapper.auto_migrate!
|
26
|
-
FakeWeb.clean_registry
|
27
17
|
end
|
28
18
|
|
29
19
|
def app
|
data/lib/singem/version.rb
CHANGED
metadata
CHANGED