Skip to content

Commit

Permalink
Added turnip for integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Antono Vasiljev committed Mar 27, 2012
1 parent e709c0f commit 980513c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .rspec
@@ -1,2 +1,4 @@
--colour --colour
--drb --drb
--require turnip
--format documentation
3 changes: 2 additions & 1 deletion Gemfile
@@ -1,7 +1,7 @@
source 'http://rubygems.org' source 'http://rubygems.org'


gem 'rails', '~> 3.2.1' gem 'rails', '~> 3.2.1'
gem 'haml' gem 'haml-rails'
gem 'rdiscount' gem 'rdiscount'
gem 'kaminari' gem 'kaminari'


Expand Down Expand Up @@ -50,6 +50,7 @@ group :development, :test do
gem 'rake' gem 'rake'
gem 'pry' gem 'pry'
gem 'pry-nav' gem 'pry-nav'
gem 'turnip', git: "git://github.com/jnicklas/turnip.git"
gem 'rspec' gem 'rspec'
gem 'rspec-rails' gem 'rspec-rails'
gem 'shoulda-matchers' gem 'shoulda-matchers'
Expand Down
20 changes: 19 additions & 1 deletion Gemfile.lock
Expand Up @@ -5,6 +5,14 @@ GIT
guard-ctags-bundler (0.0.5) guard-ctags-bundler (0.0.5)
guard (>= 0.4.0) guard (>= 0.4.0)


GIT
remote: git://github.com/jnicklas/turnip.git
revision: 9d749ddd07170705477612a5b8c47a1086e247db
specs:
turnip (0.3.0)
gherkin (>= 2.5)
rspec (~> 2.0)

GIT GIT
remote: https://github.com/derekharmel/sunspot_mongo.git remote: https://github.com/derekharmel/sunspot_mongo.git
revision: 411960f0dd67cc5aa3e54d6346371b9d6ce8c600 revision: 411960f0dd67cc5aa3e54d6346371b9d6ce8c600
Expand Down Expand Up @@ -86,6 +94,10 @@ GEM
ffi (1.0.11) ffi (1.0.11)
ffi (1.0.11-java) ffi (1.0.11-java)
fssm (0.2.8.1) fssm (0.2.8.1)
gherkin (2.9.3)
json (>= 1.4.6)
gherkin (2.9.3-java)
json (>= 1.4.6)
guard (1.0.0) guard (1.0.0)
ffi (>= 0.5.0) ffi (>= 0.5.0)
thor (~> 0.14.6) thor (~> 0.14.6)
Expand All @@ -98,6 +110,11 @@ GEM
guard (>= 0.10.0) guard (>= 0.10.0)
spork (>= 0.8.4) spork (>= 0.8.4)
haml (3.1.4) haml (3.1.4)
haml-rails (0.3.4)
actionpack (~> 3.0)
activesupport (~> 3.0)
haml (~> 3.0)
railties (~> 3.0)
hashie (1.2.0) hashie (1.2.0)
highline (1.6.11) highline (1.6.11)
hike (1.2.1) hike (1.2.1)
Expand Down Expand Up @@ -268,7 +285,7 @@ DEPENDENCIES
guard-ctags-bundler! guard-ctags-bundler!
guard-rspec guard-rspec
guard-spork guard-spork
haml haml-rails
jquery-rails jquery-rails
kaminari kaminari
libnotify libnotify
Expand All @@ -294,4 +311,5 @@ DEPENDENCIES
sunspot_rails sunspot_rails
sunspot_solr sunspot_solr
sunspot_with_kaminari sunspot_with_kaminari
turnip!
uglifier (>= 1.0.3) uglifier (>= 1.0.3)
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -39,6 +39,9 @@
config.before do config.before do
Sunspot.session = SunspotMatchers::SunspotSessionSpy.new(Sunspot.session) Sunspot.session = SunspotMatchers::SunspotSessionSpy.new(Sunspot.session)
end end

Turnip::Config.step_dirs = 'examples'
Turnip::StepLoader.load_steps
end end
end end


Expand Down

0 comments on commit 980513c

Please sign in to comment.