Skip to content

Commit ffd3101

Browse files
committed
Bump RSpec version.
1 parent 817aaf5 commit ffd3101

13 files changed

+75
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ spec/dummy/db/*.sqlite3-journal
66
spec/dummy/log/*.log
77
spec/dummy/tmp/
88
spec/dummy/.sass-cache
9+
spec/examples.txt

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--color
2+
--require spec_helper

Gemfile.lock

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -120,23 +120,23 @@ GEM
120120
rake (>= 0.8.7)
121121
thor (>= 0.18.1, < 2.0)
122122
rake (10.4.2)
123-
rspec-core (3.3.2)
124-
rspec-support (~> 3.3.0)
125-
rspec-expectations (3.3.1)
123+
rspec-core (3.4.1)
124+
rspec-support (~> 3.4.0)
125+
rspec-expectations (3.4.0)
126126
diff-lcs (>= 1.2.0, < 2.0)
127-
rspec-support (~> 3.3.0)
128-
rspec-mocks (3.3.2)
127+
rspec-support (~> 3.4.0)
128+
rspec-mocks (3.4.0)
129129
diff-lcs (>= 1.2.0, < 2.0)
130-
rspec-support (~> 3.3.0)
131-
rspec-rails (3.3.3)
130+
rspec-support (~> 3.4.0)
131+
rspec-rails (3.4.0)
132132
actionpack (>= 3.0, < 4.3)
133133
activesupport (>= 3.0, < 4.3)
134134
railties (>= 3.0, < 4.3)
135-
rspec-core (~> 3.3.0)
136-
rspec-expectations (~> 3.3.0)
137-
rspec-mocks (~> 3.3.0)
138-
rspec-support (~> 3.3.0)
139-
rspec-support (3.3.0)
135+
rspec-core (~> 3.4.0)
136+
rspec-expectations (~> 3.4.0)
137+
rspec-mocks (~> 3.4.0)
138+
rspec-support (~> 3.4.0)
139+
rspec-support (3.4.1)
140140
safe_yaml (1.0.4)
141141
slop (3.6.0)
142142
sprockets (3.2.0)
@@ -160,5 +160,8 @@ DEPENDENCIES
160160
kracken!
161161
pry
162162
pry-nav
163-
rspec-rails (>= 3.0.0.rc1)
163+
rspec-rails (~> 3.4)
164164
webmock
165+
166+
BUNDLED WITH
167+
1.10.6

bin/rspec

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by Bundler.
4+
#
5+
# The application 'rspec' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'pathname'
10+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11+
Pathname.new(__FILE__).realpath)
12+
13+
require 'rubygems'
14+
require 'bundler/setup'
15+
16+
load Gem.bin_path('rspec-core', 'rspec')

kracken.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020
s.add_dependency 'faraday', '~> 0.8'
2121
s.add_dependency 'omniauth-oauth2', '~> 1.1'
2222

23-
s.add_development_dependency 'rspec-rails', '>= 3.0.0.rc1'
23+
s.add_development_dependency 'rspec-rails', '~> 3.4'
2424
s.add_development_dependency 'pry'
2525
s.add_development_dependency 'pry-nav'
2626
s.add_development_dependency 'webmock'

spec/kracken/authenticator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'spec_helper'
22

33
module Kracken
4-
describe Authenticator do
4+
RSpec.describe Authenticator do
55

66

77
describe ".with_credentials" do

spec/kracken/config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'spec_helper'
22

33
module Kracken
4-
describe Config do
4+
RSpec.describe Config do
55

66
subject(:config){ Kracken::Config.new }
77

spec/kracken/controllers/authenticatable_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ControllerDouble < BaseControllerDouble
88
include Kracken::Controllers::Authenticatable
99
end
1010

11-
describe Authenticatable do
11+
RSpec.describe Authenticatable do
1212
subject(:controller){ ControllerDouble.new }
1313

1414
before do

spec/kracken/credential_authenticator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'spec_helper'
22

33
module Kracken
4-
describe CredentialAuthenticator do
4+
RSpec.describe CredentialAuthenticator do
55

66
let(:json){ Fixtures.auth_hash.to_json }
77

spec/kracken/token_authenticator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'spec_helper'
22

33
module Kracken
4-
describe TokenAuthenticator do
4+
RSpec.describe TokenAuthenticator do
55
let(:json){ Fixtures.auth_hash.to_json }
66

77
def set_request(status, body=nil)

0 commit comments

Comments
 (0)