Sha256: 87f95c1f3ec9ca981c21d15b36c50db35e9a0cad2fadd2bcc9391178f25cb2d3
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
require_relative '../lib/generators/files/common_file_generator' require_relative 'spec_helper' describe RubyRaider::CommonFileGenerator do before(:all) do @name = 'Cucumber-watir-1' RubyRaider::CucumberProjectGenerator.generate_cucumber_project('watir', @name) end it 'creates a config file' do expect(File.exist?("#{@name}/config/config.yml")).to be_truthy end it 'creates a rake file' do expect(File.exist?("#{@name}/Rakefile")).to be_truthy end it 'creates a readMe file' do expect(File.exist?("#{@name}/Readme.md")).to be_truthy end after(:all) do FileUtils.rm_rf(@name) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.1.9 | spec/common_file_generator_spec.rb |