Skip to content

Commit

Permalink
Update rspec and guard
Browse files Browse the repository at this point in the history
  • Loading branch information
wrozka committed Aug 27, 2013
1 parent 4d448cb commit 369fbb4
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ coverage/
.rvmrc
.ruby-version
tags
tmp
61 changes: 42 additions & 19 deletions Gemfile.lock
Expand Up @@ -6,40 +6,63 @@ PATH
GEM
remote: http://rubygems.org/
specs:
coderay (1.0.9)
colorize (0.5.8)
coveralls (0.6.7)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
diff-lcs (1.1.2)
ffi (1.0.11)
diff-lcs (1.2.4)
ffi (1.9.0)
formatador (0.2.4)
growl (1.0.3)
guard (1.0.1)
guard (1.8.2)
formatador (>= 0.2.4)
listen (>= 1.0.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-rspec (3.0.2)
guard (>= 1.8)
rspec (~> 2.13)
libnotify (0.8.1)
ffi (>= 1.0.11)
listen (1.3.0)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
lumberjack (1.0.4)
method_source (0.8.2)
mime-types (1.24)
multi_json (1.7.9)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rake (10.1.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.1)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.6.0)
guard (>= 0.10.0)
libnotify (0.7.2)
mime-types (1.23)
multi_json (1.7.3)
rake (0.9.2.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
rspec-mocks (~> 2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.5.0)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.3)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
thor (0.14.6)
slop (3.4.6)
thor (0.18.1)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion Guardfile
@@ -1,4 +1,4 @@
guard 'rspec', :version => 2 do
guard 'rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
Expand Down
2 changes: 1 addition & 1 deletion spec/dependor/customized_injector_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'

describe Dependor::CustomizedInjector do
let(:other_injector) { stub }
let(:other_injector) { double }

it "returns the customized dependency if given" do
injector = Dependor::CustomizedInjector.new(other_injector, foo: 'hello')
Expand Down
2 changes: 1 addition & 1 deletion spec/dependor/instantiator_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'

describe Dependor::Instantiator do
let(:injector) { stub(:injector) }
let(:injector) { double(:injector) }
let(:instantiator) { Dependor::Instantiator.new(injector) }

it "instantiates objects with no-arg constructors" do
Expand Down

0 comments on commit 369fbb4

Please sign in to comment.