Sha256: 1a14b50104bbcc2de4b6d38c86ade02a80716d736b182ff546e9178bfdf0e516
Contents?: true
Size: 766 Bytes
Versions: 1
Compression:
Stored size: 766 Bytes
Contents
module Skellington describe CLI do let :subject do described_class.new end it 'generates a Rakefile' do subject.generate 'dummy_app' expect('dummy_app/Rakefile').to have_content ( """ require File.join(File.dirname(__FILE__), 'lib/dummy_app.rb') unless ENV['RACK_ENV'] == 'production' require 'rspec/core/rake_task' require 'coveralls/rake/task' require 'jasmine' load 'jasmine/tasks/jasmine.rake' RSpec::Core::RakeTask.new Coveralls::RakeTask.new task :default => [:spec, 'jasmine:ci', 'coveralls:push'] end task :run do sh 'bundle exec compass watch . &' sh 'bundle exec rackup' end """ ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skellington-0.6.1 | spec/cli/rakefile_spec.rb |