Sha256: 917c88ea464b75127b191625cf6bf4f14d80c741ba1c6c5362a27be08dd606c5
Contents?: true
Size: 459 Bytes
Versions: 29
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' require 'generators/rspec/install/install_generator' describe Rspec::Generators::InstallGenerator do destination File.expand_path("../../../../../tmp", __FILE__) before { prepare_destination } it "generates .rspec" do run_generator file('.rspec').should exist end it "generates spec/spec_helper.rb" do run_generator File.read( file('spec/spec_helper.rb') ).should =~ /^require 'rspec\/autorun'$/m end end
Version data entries
29 entries across 24 versions & 4 rubygems