Sha256: 8989a70b15f5c41be1035a4c738216026c5b963ee38822cb8a2a3eadc2e818bb

Contents?: true

Size: 303 Bytes

Versions: 15

Compression:

Stored size: 303 Bytes

Contents

class TestHelper
  include <%= @gen.camelname %>::Helpers
end

module <%= @gen.camelname %>
  describe Helpers do
    let(:helpers) { TestHelper.new }

    it 'says hello' do
      expect(helpers.hello).to eq 'Hello'
    end

    it 'has a config' do
      expect(CONFIG).to be_a Hash
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
skellington-0.9.0.pre.rc1 lib/templates/sinatra/spec/app/helpers_spec.rb
skellington-0.8.9 lib/templates/sinatra/spec/app/helpers_spec.rb
skellington-0.8.8 lib/templates/sinatra/spec/app/helpers_spec.rb
skellington-0.8.7 lib/sinatra/templates/spec/app/helpers_spec.rb
skellington-0.8.6 lib/sinatra/templates/spec/app/helpers_spec.rb
skellington-0.8.5 lib/sinatra/templates/spec/app/helpers_spec.rb
skellington-0.8.4 lib/sinatra/templates/spec/app/helpers_spec.rb
skellington-0.8.3 lib/sinatra/templates/spec/app/helpers_spec.rb.eruby
skellington-0.8.2 lib/sinatra/templates/spec/app/helpers_spec.rb.eruby
skellington-0.8.1 lib/sinatra/templates/spec/app/helpers_spec.rb.eruby
skellington-0.8.0 lib/sinatra/templates/spec/app/helpers_spec.rb.eruby
skellington-0.7.5 lib/templates/spec/app/helpers_spec.rb.eruby
skellington-0.7.4 lib/templates/spec/app/helpers_spec.rb.eruby
skellington-0.7.3 lib/templates/spec/app/helpers_spec.rb.eruby
skellington-0.7.2 lib/templates/spec/app/helpers_spec.rb.eruby