Skip to content

Commit 3206173

Browse files
committed
bundle update, including RSpec 3.0
whitelist 'should' syntax for expectations and mocks
1 parent 11bdd06 commit 3206173

File tree

2 files changed

+32
-25
lines changed

2 files changed

+32
-25
lines changed

Gemfile.lock

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (3.2.18)
4+
activesupport (3.2.19)
55
i18n (~> 0.6, >= 0.6.4)
66
multi_json (~> 1.0)
77
celluloid (0.15.2)
88
timers (~> 1.1.0)
9-
celluloid-io (0.15.0)
10-
celluloid (>= 0.15.0)
11-
nio4r (>= 0.5.0)
129
coderay (1.1.0)
1310
daemons (1.1.9)
1411
deckrb (0.5.2)
@@ -27,19 +24,17 @@ GEM
2724
eventmachine (1.0.3)
2825
ffi (1.9.3)
2926
files (0.3.1)
30-
i18n (0.6.9)
27+
i18n (0.6.11)
3128
json (1.8.1)
32-
listen (2.7.4)
29+
listen (2.7.9)
3330
celluloid (>= 0.15.2)
34-
celluloid-io (>= 0.15.0)
3531
rb-fsevent (>= 0.9.3)
3632
rb-inotify (>= 0.9)
3733
mini_portile (0.6.0)
38-
multi_json (1.10.0)
39-
nio4r (1.0.0)
40-
nokogiri (1.6.2.1)
34+
multi_json (1.10.1)
35+
nokogiri (1.6.3.1)
4136
mini_portile (= 0.6.0)
42-
polyglot (0.3.4)
37+
polyglot (0.3.5)
4338
predicated (0.2.6)
4439
rack (1.5.2)
4540
rack-codehighlighter (0.5.0)
@@ -49,28 +44,32 @@ GEM
4944
rack
5045
rack-test (0.6.2)
5146
rack (>= 1.0)
52-
rake (10.3.1)
47+
rake (10.3.2)
5348
rb-fsevent (0.9.4)
54-
rb-inotify (0.9.4)
49+
rb-inotify (0.9.5)
5550
ffi (>= 0.5.0)
5651
redcarpet (2.3.0)
5752
rerun (0.10.0)
5853
listen (~> 2.7, >= 2.7.3)
59-
rspec (2.14.1)
60-
rspec-core (~> 2.14.0)
61-
rspec-expectations (~> 2.14.0)
62-
rspec-mocks (~> 2.14.0)
63-
rspec-core (2.14.8)
64-
rspec-expectations (2.14.5)
65-
diff-lcs (>= 1.1.3, < 2.0)
66-
rspec-mocks (2.14.6)
67-
ruby2ruby (2.1.0)
54+
rspec (3.0.0)
55+
rspec-core (~> 3.0.0)
56+
rspec-expectations (~> 3.0.0)
57+
rspec-mocks (~> 3.0.0)
58+
rspec-core (3.0.4)
59+
rspec-support (~> 3.0.0)
60+
rspec-expectations (3.0.4)
61+
diff-lcs (>= 1.2.0, < 2.0)
62+
rspec-support (~> 3.0.0)
63+
rspec-mocks (3.0.4)
64+
rspec-support (~> 3.0.0)
65+
rspec-support (3.0.4)
66+
ruby2ruby (2.1.1)
6867
ruby_parser (~> 3.1)
6968
sexp_processor (~> 4.0)
70-
ruby_parser (3.6.1)
69+
ruby_parser (3.6.2)
7170
sexp_processor (~> 4.1)
72-
sass (3.3.7)
73-
sexp_processor (4.4.3)
71+
sass (3.4.1)
72+
sexp_processor (4.4.4)
7473
sinatra (1.4.5)
7574
rack (~> 1.4)
7675
rack-protection (~> 1.4)

spec/spec_helper.rb

+8
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,13 @@ def assert_loosely_equal lhs, rhs
1414

1515
RSpec.configure do |c|
1616
c.include Files
17+
18+
c.expect_with :rspec do |expectations|
19+
expectations.syntax = [:expect, :should]
20+
end
21+
22+
c.mock_with :rspec do |mocks|
23+
mocks.syntax = [:should, :expect]
24+
end
1725
end
1826

0 commit comments

Comments
 (0)