refinerycms-testing 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,34 +7,34 @@ module Refinery
7
7
  end
8
8
 
9
9
  def login_user
10
+ let(:user) { FactoryGirl.create(:user) }
10
11
  before(:each) do
11
- @user = FactoryGirl.create(:user)
12
12
  @request.env["devise.mapping"] = Devise.mappings[:admin]
13
- sign_in @user
13
+ sign_in user
14
14
  end
15
15
  end
16
16
 
17
17
  def login_refinery_user
18
+ let(:refinery_user) { FactoryGirl.create(:refinery_user) }
18
19
  before(:each) do
19
- @refinery_user = FactoryGirl.create(:refinery_user)
20
20
  @request.env["devise.mapping"] = Devise.mappings[:admin]
21
- sign_in @refinery_user
21
+ sign_in refinery_user
22
22
  end
23
23
  end
24
24
 
25
25
  def login_refinery_superuser
26
+ let(:refinery_superuser) { FactoryGirl.create(:refinery_superuser) }
26
27
  before(:each) do
27
- @refinery_superuser = FactoryGirl.create(:refinery_superuser)
28
28
  @request.env["devise.mapping"] = Devise.mappings[:admin]
29
- sign_in @refinery_superuser
29
+ sign_in refinery_superuser
30
30
  end
31
31
  end
32
32
 
33
33
  def login_refinery_translator
34
+ let(:refinery_translator) { FactoryGirl.create(:refinery_translator) }
34
35
  before(:each) do
35
- @refinery_translator = FactoryGirl.create(:refinery_translator)
36
36
  @request.env["devise.mapping"] = Devise.mappings[:admin]
37
- sign_in @refinery_translator
37
+ sign_in refinery_translator
38
38
  end
39
39
  end
40
40
  end
metadata CHANGED
@@ -1,127 +1,119 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-testing
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.3
5
5
  prerelease:
6
- segments:
7
- - 2
8
- - 0
9
- - 2
10
- version: 2.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Philip Arndt
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-03-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - "="
26
- - !ruby/object:Gem::Version
27
- hash: 11
28
- segments:
29
- - 2
30
- - 0
31
- - 2
32
- version: 2.0.2
33
- version_requirements: *id001
12
+ date: 2012-04-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
34
15
  name: refinerycms-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.3
35
22
  type: :runtime
36
- - !ruby/object:Gem::Dependency
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.0.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: database_cleaner
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
34
+ requirements:
41
35
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 1
44
- segments:
45
- - 0
46
- - 7
47
- - 1
36
+ - !ruby/object:Gem::Version
48
37
  version: 0.7.1
49
- version_requirements: *id002
50
- name: database_cleaner
51
38
  type: :runtime
52
- - !ruby/object:Gem::Dependency
53
39
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
55
41
  none: false
56
- requirements:
42
+ requirements:
57
43
  - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 11
60
- segments:
61
- - 1
62
- - 7
63
- - 0
64
- version: 1.7.0
65
- version_requirements: *id003
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.1
46
+ - !ruby/object:Gem::Dependency
66
47
  name: factory_girl_rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.7.0
67
54
  type: :runtime
68
- - !ruby/object:Gem::Dependency
69
55
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
71
57
  none: false
72
- requirements:
58
+ requirements:
73
59
  - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 7
76
- segments:
77
- - 0
78
- - 6
79
- - 0
80
- version: 0.6.0
81
- version_requirements: *id004
60
+ - !ruby/object:Gem::Version
61
+ version: 1.7.0
62
+ - !ruby/object:Gem::Dependency
82
63
  name: rack-test
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 0.6.0
83
70
  type: :runtime
84
- - !ruby/object:Gem::Dependency
85
71
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
87
73
  none: false
88
- requirements:
74
+ requirements:
89
75
  - - ~>
90
- - !ruby/object:Gem::Version
91
- hash: 45
92
- segments:
93
- - 2
94
- - 8
95
- - 1
96
- version: 2.8.1
97
- version_requirements: *id005
76
+ - !ruby/object:Gem::Version
77
+ version: 0.6.0
78
+ - !ruby/object:Gem::Dependency
98
79
  name: rspec-rails
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 2.8.1
99
86
  type: :runtime
100
- - !ruby/object:Gem::Dependency
101
87
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
103
89
  none: false
104
- requirements:
90
+ requirements:
105
91
  - - ~>
106
- - !ruby/object:Gem::Version
107
- hash: 19
108
- segments:
109
- - 1
110
- - 1
111
- - 0
112
- version: 1.1.0
113
- version_requirements: *id006
92
+ - !ruby/object:Gem::Version
93
+ version: 2.8.1
94
+ - !ruby/object:Gem::Dependency
114
95
  name: capybara
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 1.1.0
115
102
  type: :runtime
116
- description: This plugin adds the ability to run cucumber and rspec against the Refinery CMS gem while inside a Refinery CMS project
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.1.0
110
+ description: This plugin adds the ability to run cucumber and rspec against the Refinery
111
+ CMS gem while inside a Refinery CMS project
117
112
  email: info@refinerycms.com
118
113
  executables: []
119
-
120
114
  extensions: []
121
-
122
115
  extra_rdoc_files: []
123
-
124
- files:
116
+ files:
125
117
  - .rspec
126
118
  - lib/generators/refinery/testing/templates/Guardfile
127
119
  - lib/generators/refinery/testing/templates/spec/spec_helper.rb
@@ -138,37 +130,34 @@ files:
138
130
  - lib/refinerycms-testing.rb
139
131
  - refinerycms-testing.gemspec
140
132
  homepage: http://refinerycms.com
141
- licenses:
133
+ licenses:
142
134
  - MIT
143
135
  post_install_message:
144
136
  rdoc_options: []
145
-
146
- require_paths:
137
+ require_paths:
147
138
  - lib
148
- required_ruby_version: !ruby/object:Gem::Requirement
139
+ required_ruby_version: !ruby/object:Gem::Requirement
149
140
  none: false
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- hash: 3
154
- segments:
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ segments:
155
146
  - 0
156
- version: "0"
157
- required_rubygems_version: !ruby/object:Gem::Requirement
147
+ hash: 4609152051391728438
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
149
  none: false
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- hash: 3
163
- segments:
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ segments:
164
155
  - 0
165
- version: "0"
156
+ hash: 4609152051391728438
166
157
  requirements: []
167
-
168
158
  rubyforge_project: refinerycms
169
- rubygems_version: 1.8.17
159
+ rubygems_version: 1.8.19
170
160
  signing_key:
171
161
  specification_version: 3
172
162
  summary: Testing plugin for Refinery CMS
173
163
  test_files: []
174
-