Sha256: 4e0ad678f7183a3291a1d704be9729b39f7a66222526b7485528be8679b4d880

Contents?: true

Size: 874 Bytes

Versions: 3

Compression:

Stored size: 874 Bytes

Contents

require 'spec_helper'

feature 'Getting started', %q{
  In order to start coding my awesome new project
  As a Rails developer
  I want set up my project for Acceptance BDD
} do

  scenario 'from an empty Rails project' do
    new_project_from :rails_project

    append_to 'Gemfile', <<-GEMS
      group :test, :development do
        gem 'steak', :path => '#{root_path}'
      end
    GEMS

    run 'bundle --local'
    run 'rails g steak:install'

    # rspec-rails should be present
    path('spec').should exist
    path('spec/spec_helper.rb').should exist

    # steak should be present
    path('spec/acceptance').should exist
    path('spec/acceptance/acceptance_helper.rb').should exist
    path('spec/acceptance/support').should exist
    path('spec/acceptance/support/helpers.rb').should exist
    path('spec/acceptance/support/paths.rb').should exist
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steak-2.0.0 spec/acceptance/getting_started_spec.rb
steak-2.0.0.beta2 spec/acceptance/getting_started_spec.rb
steak-2.0.0.beta1 spec/acceptance/getting_started_spec.rb