Commit bbaa0fccfab36c6a58265e944f390bcd73b0f974
1 parent
5f7f35e8
Exists in
master
and in
4 other branches
Update poltergeist and should-matchers
Showing
3 changed files
with
14 additions
and
24 deletions
Show diff stats
Gemfile
@@ -171,14 +171,14 @@ group :development, :test do | @@ -171,14 +171,14 @@ group :development, :test do | ||
171 | gem 'rb-inotify', require: linux_only('rb-inotify') | 171 | gem 'rb-inotify', require: linux_only('rb-inotify') |
172 | 172 | ||
173 | # PhantomJS driver for Capybara | 173 | # PhantomJS driver for Capybara |
174 | - gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '9645b52009e258921b860d3b7601d00008b22c45' | 174 | + gem 'poltergeist', '~> 1.3.0' |
175 | 175 | ||
176 | gem 'spork', '~> 1.0rc' | 176 | gem 'spork', '~> 1.0rc' |
177 | end | 177 | end |
178 | 178 | ||
179 | group :test do | 179 | group :test do |
180 | gem "simplecov", require: false | 180 | gem "simplecov", require: false |
181 | - gem "shoulda-matchers", "1.3.0" | 181 | + gem "shoulda-matchers", "~> 2.1.0" |
182 | gem 'email_spec' | 182 | gem 'email_spec' |
183 | gem "webmock" | 183 | gem "webmock" |
184 | gem 'test_after_commit' | 184 | gem 'test_after_commit' |
Gemfile.lock
@@ -12,16 +12,6 @@ GIT | @@ -12,16 +12,6 @@ GIT | ||
12 | specs: | 12 | specs: |
13 | raphael-rails (2.1.0) | 13 | raphael-rails (2.1.0) |
14 | 14 | ||
15 | -GIT | ||
16 | - remote: https://github.com/jonleighton/poltergeist.git | ||
17 | - revision: 9645b52009e258921b860d3b7601d00008b22c45 | ||
18 | - ref: 9645b52009e258921b860d3b7601d00008b22c45 | ||
19 | - specs: | ||
20 | - poltergeist (1.1.0) | ||
21 | - capybara (~> 2.0, >= 2.0.1) | ||
22 | - faye-websocket (~> 0.4, >= 0.4.4) | ||
23 | - http_parser.rb (~> 0.5.3) | ||
24 | - | ||
25 | GEM | 15 | GEM |
26 | remote: https://rubygems.org/ | 16 | remote: https://rubygems.org/ |
27 | specs: | 17 | specs: |
@@ -103,7 +93,7 @@ GEM | @@ -103,7 +93,7 @@ GEM | ||
103 | thor | 93 | thor |
104 | crack (0.3.2) | 94 | crack (0.3.2) |
105 | daemons (1.1.9) | 95 | daemons (1.1.9) |
106 | - database_cleaner (0.9.1) | 96 | + database_cleaner (1.0.1) |
107 | debug_inspector (0.0.2) | 97 | debug_inspector (0.0.2) |
108 | descendants_tracker (0.0.1) | 98 | descendants_tracker (0.0.1) |
109 | devise (2.2.4) | 99 | devise (2.2.4) |
@@ -203,7 +193,7 @@ GEM | @@ -203,7 +193,7 @@ GEM | ||
203 | lumberjack (>= 1.0.2) | 193 | lumberjack (>= 1.0.2) |
204 | pry (>= 0.9.10) | 194 | pry (>= 0.9.10) |
205 | thor (>= 0.14.6) | 195 | thor (>= 0.14.6) |
206 | - guard-rspec (2.6.0) | 196 | + guard-rspec (3.0.0) |
207 | guard (>= 1.8) | 197 | guard (>= 1.8) |
208 | rspec (~> 2.13) | 198 | rspec (~> 2.13) |
209 | guard-spinach (0.0.2) | 199 | guard-spinach (0.0.2) |
@@ -246,7 +236,7 @@ GEM | @@ -246,7 +236,7 @@ GEM | ||
246 | letter_opener (1.1.0) | 236 | letter_opener (1.1.0) |
247 | launchy (~> 2.2.0) | 237 | launchy (~> 2.2.0) |
248 | libv8 (3.11.8.17) | 238 | libv8 (3.11.8.17) |
249 | - listen (1.0.3) | 239 | + listen (1.1.3) |
250 | rb-fsevent (>= 0.9.3) | 240 | rb-fsevent (>= 0.9.3) |
251 | rb-inotify (>= 0.9) | 241 | rb-inotify (>= 0.9) |
252 | rb-kqueue (>= 0.2) | 242 | rb-kqueue (>= 0.2) |
@@ -293,9 +283,13 @@ GEM | @@ -293,9 +283,13 @@ GEM | ||
293 | omniauth-oauth (~> 1.0) | 283 | omniauth-oauth (~> 1.0) |
294 | orm_adapter (0.4.0) | 284 | orm_adapter (0.4.0) |
295 | pg (0.15.1) | 285 | pg (0.15.1) |
286 | + poltergeist (1.3.0) | ||
287 | + capybara (~> 2.1.0) | ||
288 | + faye-websocket (>= 0.4.4, < 0.5.0) | ||
289 | + http_parser.rb (~> 0.5.3) | ||
296 | polyglot (0.3.3) | 290 | polyglot (0.3.3) |
297 | posix-spawn (0.3.6) | 291 | posix-spawn (0.3.6) |
298 | - pry (0.9.12.1) | 292 | + pry (0.9.12.2) |
299 | coderay (~> 1.0.5) | 293 | coderay (~> 1.0.5) |
300 | method_source (~> 0.8) | 294 | method_source (~> 0.8) |
301 | slop (~> 3.4) | 295 | slop (~> 3.4) |
@@ -414,7 +408,7 @@ GEM | @@ -414,7 +408,7 @@ GEM | ||
414 | thor (~> 0.14) | 408 | thor (~> 0.14) |
415 | settingslogic (2.0.9) | 409 | settingslogic (2.0.9) |
416 | sexp_processor (4.2.1) | 410 | sexp_processor (4.2.1) |
417 | - shoulda-matchers (1.3.0) | 411 | + shoulda-matchers (2.1.0) |
418 | activesupport (>= 3.0.0) | 412 | activesupport (>= 3.0.0) |
419 | sidekiq (2.12.0) | 413 | sidekiq (2.12.0) |
420 | celluloid (>= 0.14.0) | 414 | celluloid (>= 0.14.0) |
@@ -435,7 +429,7 @@ GEM | @@ -435,7 +429,7 @@ GEM | ||
435 | slim (1.3.8) | 429 | slim (1.3.8) |
436 | temple (~> 0.6.3) | 430 | temple (~> 0.6.3) |
437 | tilt (~> 1.3.3) | 431 | tilt (~> 1.3.3) |
438 | - slop (3.4.4) | 432 | + slop (3.4.5) |
439 | spinach (0.8.2) | 433 | spinach (0.8.2) |
440 | colorize (= 0.5.8) | 434 | colorize (= 0.5.8) |
441 | gherkin-ruby (~> 0.3.0) | 435 | gherkin-ruby (~> 0.3.0) |
@@ -554,7 +548,7 @@ DEPENDENCIES | @@ -554,7 +548,7 @@ DEPENDENCIES | ||
554 | omniauth-google-oauth2 | 548 | omniauth-google-oauth2 |
555 | omniauth-twitter | 549 | omniauth-twitter |
556 | pg | 550 | pg |
557 | - poltergeist! | 551 | + poltergeist (~> 1.3.0) |
558 | pry | 552 | pry |
559 | puma (~> 2.0.1) | 553 | puma (~> 2.0.1) |
560 | quiet_assets (~> 1.0.1) | 554 | quiet_assets (~> 1.0.1) |
@@ -573,7 +567,7 @@ DEPENDENCIES | @@ -573,7 +567,7 @@ DEPENDENCIES | ||
573 | seed-fu | 567 | seed-fu |
574 | select2-rails | 568 | select2-rails |
575 | settingslogic | 569 | settingslogic |
576 | - shoulda-matchers (= 1.3.0) | 570 | + shoulda-matchers (~> 2.1.0) |
577 | sidekiq | 571 | sidekiq |
578 | simplecov | 572 | simplecov |
579 | sinatra | 573 | sinatra |
spec/models/project_spec.rb
@@ -61,10 +61,6 @@ describe Project do | @@ -61,10 +61,6 @@ describe Project do | ||
61 | it { should ensure_length_of(:path).is_within(0..255) } | 61 | it { should ensure_length_of(:path).is_within(0..255) } |
62 | it { should ensure_length_of(:description).is_within(0..2000) } | 62 | it { should ensure_length_of(:description).is_within(0..2000) } |
63 | it { should validate_presence_of(:creator) } | 63 | it { should validate_presence_of(:creator) } |
64 | - it { should ensure_inclusion_of(:issues_enabled).in_array([true, false]) } | ||
65 | - it { should ensure_inclusion_of(:wall_enabled).in_array([true, false]) } | ||
66 | - it { should ensure_inclusion_of(:merge_requests_enabled).in_array([true, false]) } | ||
67 | - it { should ensure_inclusion_of(:wiki_enabled).in_array([true, false]) } | ||
68 | it { should ensure_length_of(:issues_tracker_id).is_within(0..255) } | 64 | it { should ensure_length_of(:issues_tracker_id).is_within(0..255) } |
69 | 65 | ||
70 | it "should not allow new projects beyond user limits" do | 66 | it "should not allow new projects beyond user limits" do |