Sha256: bfc91582dba6ca4b67ceaecf78384626717f27df7853b5816df02da24f898d23

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

require 'spec_helper'
require 'rails/generators/epuber-stylus/assets/assets_generator'

describe Stylus::Generators::AssetsGenerator do
  include Generators::TestCase
  arguments  %w(posts)

  it 'generates a .styl file' do
    expect(file('app/assets/stylesheets/posts.css.styl')).to exist
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
epuber-stylus-1.2.0 spec/generators/assets_generator_spec.rb
epuber-stylus-1.1.1 spec/generators/assets_generator_spec.rb
epuber-stylus-1.1.0 spec/generators/assets_generator_spec.rb