Sha256: 4a205f3d4d336d4a7e96928e816cfcfb91c46d34464e84834acfbce6d29dce5c

Contents?: true

Size: 1.13 KB

Versions: 22

Compression:

Stored size: 1.13 KB

Contents

require "bard/template/helper"

plugin "cucumber_rails_debug", :git => "git://github.com/mischa/cucumber_rails_debug"

generate "rspec"
generate "cucumber"
generate "email_spec"
generate "pickle"

file "features/support/blueprints.rb", <<-END
require "machinist/active_record"
require "faker"

Sham.name { Faker::Name.name }
Sham.email { Faker::Internet.email }
Sham.sentence { Faker::Lorem.sentence }
Sham.paragraph { Faker::Lorem.paragraph }
Sham.url { "http://\#{Faker::Internet.domain_name}/\#{Faker::Lorem.words(3).join('_').downcase}" }

Sham.address { Faker::Address.street_address }
Sham.city { Faker::Address.city }
Sham.zip { Faker::Address.zip_code }
Sham.phone { Faker::PhoneNumber.phone_number }
END
run "ln -s features/support/blueprints.rb spec/blueprints.rb"

file "features/support/debug.rb", <<-END
require "ruby-debug"
require "cucumber_rails_debug/steps"
END

file "features/support/email.rb", <<-END
# Email testing helpers
require "email_spec"
require "email_spec/cucumber"
END

run "rake db:create RAILS_ENV=test"

git :add => "."
git :commit => "-m'added rspec and cucumber setups.'"

# run "cap stage"
# run "cap staging:bootstrap:ci"

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
bard-0.19.0 lib/bard/template/testing.rb
bard-0.18.0 lib/bard/template/testing.rb
bard-0.17.1 lib/bard/template/testing.rb
bard-0.17.0 lib/bard/template/testing.rb
bard-0.16.1 lib/bard/template/testing.rb
bard-0.16.0 lib/bard/template/testing.rb
bard-0.15.5 lib/bard/template/testing.rb
bard-0.15.4 lib/bard/template/testing.rb
bard-0.15.3 lib/bard/template/testing.rb
bard-0.15.2 lib/bard/template/testing.rb
bard-0.15.0 lib/bard/template/testing.rb
bard-0.14.2 lib/bard/template/testing.rb
bard-0.14.1 lib/bard/template/testing.rb
bard-0.14.0 lib/bard/template/testing.rb
bard-0.13.2 lib/bard/template/testing.rb
bard-0.13.1 lib/bard/template/testing.rb
bard-0.13.0 lib/bard/template/testing.rb
bard-0.12.0 lib/bard/template/testing.rb
bard-0.11.3 lib/bard/template/testing.rb
bard-0.11.2 lib/bard/template/testing.rb