features/support/env.rb in staticpress-0.6.0 vs features/support/env.rb in staticpress-0.6.1
- old
+ new
@@ -11,9 +11,12 @@
module IntegrationHelpers
def create_sample_blog(title = 'Transient Thoughts')
blog_title = title ? "'#{title}'" : nil
run_simple "staticpress new temporary_blog #{blog_title}"
cd('temporary_blog')
+ append_to_file 'Gemfile', <<-RUBY
+gem 'staticpress', :path => '../../..'
+ RUBY
end
def run_one_of(*commands)
run_simple commands.shuffle.first
end