Commit 06b8e81e686c74af17b54f3191781ac606386330
1 parent
697d77ca
Exists in
colab
and in
4 other branches
shoulda-matchers updated
Showing
10 changed files
with
11 additions
and
11 deletions
Show diff stats
Gemfile
Gemfile.lock
... | ... | @@ -225,7 +225,7 @@ GEM |
225 | 225 | sdoc (0.4.1) |
226 | 226 | json (~> 1.7, >= 1.7.7) |
227 | 227 | rdoc (~> 4.0) |
228 | - shoulda-matchers (2.7.0) | |
228 | + shoulda-matchers (2.8.0) | |
229 | 229 | activesupport (>= 3.0.0) |
230 | 230 | simplecov (0.9.1) |
231 | 231 | docile (~> 1.1.0) |
... | ... | @@ -304,7 +304,7 @@ DEPENDENCIES |
304 | 304 | rspec-rails (~> 3.2.0) |
305 | 305 | sass-rails (~> 4.0.1) |
306 | 306 | sdoc |
307 | - shoulda-matchers (~> 2.7.0) | |
307 | + shoulda-matchers (~> 2.8.0) | |
308 | 308 | simplecov |
309 | 309 | spring |
310 | 310 | sqlite3 | ... | ... |
spec/controllers/compound_metric_configurations_controller_spec.rb
... | ... | @@ -111,7 +111,7 @@ describe CompoundMetricConfigurationsController, :type => :controller do |
111 | 111 | |
112 | 112 | it { is_expected.to redirect_to(kalibro_configurations_path(kalibro_configuration.id)) } |
113 | 113 | it { is_expected.to respond_with(:redirect) } |
114 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
114 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
115 | 115 | end |
116 | 116 | end |
117 | 117 | ... | ... |
spec/controllers/kalibro_configurations_controller_spec.rb
... | ... | @@ -182,7 +182,7 @@ describe KalibroConfigurationsController, :type => :controller do |
182 | 182 | end |
183 | 183 | |
184 | 184 | it { is_expected.to redirect_to(kalibro_configurations_path(@subject.id)) } |
185 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
185 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
186 | 186 | end |
187 | 187 | end |
188 | 188 | ... | ... |
spec/controllers/kalibro_ranges_controller_spec.rb
... | ... | @@ -139,7 +139,7 @@ describe KalibroRangesController, :type => :controller do |
139 | 139 | |
140 | 140 | it { is_expected.to redirect_to(kalibro_configurations_url(metric_configuration.kalibro_configuration_id)) } |
141 | 141 | it { is_expected.to respond_with(:redirect) } |
142 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
142 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
143 | 143 | end |
144 | 144 | end |
145 | 145 | ... | ... |
spec/controllers/metric_configurations_controller_spec.rb
... | ... | @@ -131,7 +131,7 @@ describe MetricConfigurationsController, :type => :controller do |
131 | 131 | |
132 | 132 | it { is_expected.to redirect_to(kalibro_configurations_path(metric_configuration.kalibro_configuration_id)) } |
133 | 133 | it { is_expected.to respond_with(:redirect) } |
134 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
134 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
135 | 135 | end |
136 | 136 | end |
137 | 137 | ... | ... |
spec/controllers/projects_controller_spec.rb
... | ... | @@ -190,7 +190,7 @@ describe ProjectsController, :type => :controller do |
190 | 190 | end |
191 | 191 | |
192 | 192 | it { is_expected.to redirect_to(projects_path) } |
193 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
193 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
194 | 194 | end |
195 | 195 | end |
196 | 196 | ... | ... |
spec/controllers/reading_groups_controller_spec.rb
... | ... | @@ -175,7 +175,7 @@ describe ReadingGroupsController, :type => :controller do |
175 | 175 | end |
176 | 176 | |
177 | 177 | it { is_expected.to redirect_to(reading_group_path) } |
178 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
178 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
179 | 179 | end |
180 | 180 | end |
181 | 181 | ... | ... |
spec/controllers/readings_controller_spec.rb
... | ... | @@ -88,7 +88,7 @@ describe ReadingsController, :type => :controller do |
88 | 88 | |
89 | 89 | it { is_expected.to redirect_to(reading_group_url(reading_group.id)) } |
90 | 90 | it { is_expected.to respond_with(:redirect) } |
91 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
91 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
92 | 92 | end |
93 | 93 | end |
94 | 94 | ... | ... |
spec/controllers/repositories_controller_spec.rb
... | ... | @@ -183,7 +183,7 @@ describe RepositoriesController, :type => :controller do |
183 | 183 | |
184 | 184 | it { is_expected.to redirect_to(projects_url) } |
185 | 185 | it { is_expected.to respond_with(:redirect) } |
186 | - it { is_expected.to set_the_flash[:notice].to("You're not allowed to do this operation") } | |
186 | + it { is_expected.to set_flash[:notice].to("You're not allowed to do this operation") } | |
187 | 187 | end |
188 | 188 | end |
189 | 189 | ... | ... |