Permalink
Browse files

Added turnip for integration testing

  • Loading branch information...
1 parent e709c0f commit 980513caec5c40b8bb71322f7441fea803aef263 Antono Vasiljev committed Mar 27, 2012
Showing with 26 additions and 2 deletions.
  1. +2 −0 .rspec
  2. +2 −1 Gemfile
  3. +19 −1 Gemfile.lock
  4. +3 −0 spec/spec_helper.rb
View
2 .rspec
@@ -1,2 +1,4 @@
--colour
--drb
+--require turnip
+--format documentation
View
@@ -1,7 +1,7 @@
source 'http://rubygems.org'
gem 'rails', '~> 3.2.1'
-gem 'haml'
+gem 'haml-rails'
gem 'rdiscount'
gem 'kaminari'
@@ -50,6 +50,7 @@ group :development, :test do
gem 'rake'
gem 'pry'
gem 'pry-nav'
+ gem 'turnip', git: "git://github.com/jnicklas/turnip.git"
gem 'rspec'
gem 'rspec-rails'
gem 'shoulda-matchers'
View
@@ -6,6 +6,14 @@ GIT
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
remote: https://github.com/derekharmel/sunspot_mongo.git
revision: 411960f0dd67cc5aa3e54d6346371b9d6ce8c600
specs:
@@ -86,6 +94,10 @@ GEM
ffi (1.0.11)
ffi (1.0.11-java)
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)
ffi (>= 0.5.0)
thor (~> 0.14.6)
@@ -98,6 +110,11 @@ GEM
guard (>= 0.10.0)
spork (>= 0.8.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)
highline (1.6.11)
hike (1.2.1)
@@ -268,7 +285,7 @@ DEPENDENCIES
guard-ctags-bundler!
guard-rspec
guard-spork
- haml
+ haml-rails
jquery-rails
kaminari
libnotify
@@ -294,4 +311,5 @@ DEPENDENCIES
sunspot_rails
sunspot_solr
sunspot_with_kaminari
+ turnip!
uglifier (>= 1.0.3)
View
@@ -39,6 +39,9 @@
config.before do
Sunspot.session = SunspotMatchers::SunspotSessionSpy.new(Sunspot.session)
end
+
+ Turnip::Config.step_dirs = 'examples'
+ Turnip::StepLoader.load_steps
end
end

0 comments on commit 980513c

Please sign in to comment.