Sha256: e9530e6fc1952ea8caab07ed8ff787ec3f00da2285c2a190be262534e43ec677

Contents?: true

Size: 316 Bytes

Versions: 8

Compression:

Stored size: 316 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

describe <%= class_name %>Script do
  before :each do
    @bin = <%= class_name %>Script.new
    
    # if want to point some params into bin => @bin.override_parameters({:i => 10, :a => '20'})
  end
  
  it 'should do! and not raise' do
    @bin.do!
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bin_script-0.1.7 lib/generators/bin/templates/spec.rb
bin_script-0.1.6 lib/generators/bin/templates/spec.rb
bin_script-0.1.5 lib/generators/bin/templates/spec.rb
bin_script-0.1.4 lib/generators/bin/templates/spec.rb
bin_script-0.1.3 lib/generators/bin/templates/spec.rb
bin_script-0.1.2 lib/generators/bin/templates/spec.rb
bin_script-0.1.1 lib/generators/bin/templates/spec.rb
bin_script-0.1 lib/generators/bin/templates/spec.rb