Class: Schienenzeppelin::AddOns::Rspec

Inherits:
Schienenzeppelin::AddOn show all
Defined in:
lib/schienenzeppelin/addons/rspec.rb

Instance Attribute Summary

Attributes inherited from Schienenzeppelin::AddOn

#context, #dependencies

Instance Method Summary collapse

Methods inherited from Schienenzeppelin::AddOn

apply, default_source_root, dependencies, get, identifier, #initialize

Constructor Details

This class inherits a constructor from Schienenzeppelin::AddOn

Instance Method Details

#applyObject



8
9
10
11
12
# File 'lib/schienenzeppelin/addons/rspec.rb', line 8

def apply
  create_file('.rspec', '--require spec_helper')
  template('spec/rails_helper.rb')
  template('spec/spec_helper.rb')
end