Skip to content

Commit 5d3ff79

Browse files
committed
Update rspec and remove warnings.
1 parent 7aa0c7c commit 5d3ff79

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
github_api (0.7.2)
4+
github_api (0.8.0)
55
faraday (~> 0.8.1)
66
hashie (~> 1.2.0)
77
multi_json (~> 1.3)
@@ -59,14 +59,14 @@ GEM
5959
sexp_processor (~> 3.0)
6060
roodi (2.1.0)
6161
ruby_parser
62-
rspec (2.10.0)
63-
rspec-core (~> 2.10.0)
64-
rspec-expectations (~> 2.10.0)
65-
rspec-mocks (~> 2.10.0)
66-
rspec-core (2.10.1)
67-
rspec-expectations (2.10.0)
62+
rspec (2.11.0)
63+
rspec-core (~> 2.11.0)
64+
rspec-expectations (~> 2.11.0)
65+
rspec-mocks (~> 2.11.0)
66+
rspec-core (2.11.1)
67+
rspec-expectations (2.11.3)
6868
diff-lcs (~> 1.1.3)
69-
rspec-mocks (2.10.1)
69+
rspec-mocks (2.11.3)
7070
ruby2ruby (1.2.5)
7171
ruby_parser (~> 2.0)
7272
sexp_processor (~> 3.0)

spec/github/authorization_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040

4141
it "should throw an error if no client_id" do
4242
github.client_id = nil
43-
expect { github.auth_code }.should raise_error(ArgumentError)
43+
expect { github.auth_code }.to raise_error(ArgumentError)
4444
end
4545

4646
it "should throw an error if no client_secret" do
4747
github.client_secret = nil
48-
expect { github.auth_code }.should raise_error(ArgumentError)
48+
expect { github.auth_code }.to raise_error(ArgumentError)
4949
end
5050

5151
it "should return authentication token code" do

spec/github/issues_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
it "should raise error if user-name empty" do
7979
expect {
8080
github.issues.list_repo nil, repo
81-
}.should raise_error(ArgumentError)
81+
}.to raise_error(ArgumentError)
8282
end
8383

8484
it "should get the resources" do

0 commit comments

Comments
 (0)