Skip to content

Commit

Permalink
Add RSpec with Guard
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianPeters committed Jul 17, 2012
1 parent 42c8f66 commit b86a828
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ gemspec
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.
group :test do
gem 'rspec'
gem 'guard'
gem 'guard-rspec'
end
29 changes: 28 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,41 @@
PATH
remote: .
specs:
crispy-mobile (0.0.1)
crispy-mobile (0.1.0)
wurfl-lite (~> 1.1.2)

GEM
remote: http://rubygems.org/
specs:
amatch (0.2.10)
tins (~> 0.3)
diff-lcs (1.1.3)
ffi (1.0.11)
guard (1.0.0)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.6.0)
guard (>= 0.10.0)
hpricot (0.8.6)
rspec (2.10.0)
rspec-core (~> 2.10.0)
rspec-expectations (~> 2.10.0)
rspec-mocks (~> 2.10.0)
rspec-core (2.10.0)
rspec-expectations (2.10.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.10.1)
thor (0.14.6)
tins (0.3.9)
wurfl-lite (1.1.2)
amatch (>= 0.2.5)
hpricot (!= 0.8.3, >= 0.8.2)

PLATFORMS
ruby

DEPENDENCIES
crispy-mobile!
guard
guard-rspec
rspec
8 changes: 8 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'rspec', version: 2, cli: "--color --format nested --drb" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'crispy-mobile'

0 comments on commit b86a828

Please sign in to comment.