Sha256: 5890ac4e3cf6248a7c4027d71a6b3a970178264d5bfb9dfaa4a54e00243dd0e2

Contents?: true

Size: 290 Bytes

Versions: 17

Compression:

Stored size: 290 Bytes

Contents

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stylus-1.0.0.beta spec/generators/assets_generator_spec.rb
stylus-0.7.2 spec/generators/assets_generator_spec.rb
stylus-0.7.1 spec/generators/assets_generator_spec.rb
stylus-0.7.0 spec/generators/assets_generator_spec.rb
stylus-0.6.2 spec/generators/assets_generator_spec.rb
stylus-0.6.0 spec/generators/assets_generator_spec.rb
stylus-0.5.1 spec/generators/assets_generator_spec.rb
stylus-0.5.0 spec/generators/assets_generator_spec.rb
stylus-0.4.2 spec/generators/assets_generator_spec.rb
stylus-0.4.1 spec/generators/assets_generator_spec.rb
stylus-0.4.0 spec/generators/assets_generator_spec.rb
stylus-0.3.0 spec/generators/assets_generator_spec.rb
stylus-0.3.0.pre spec/generators/assets_generator_spec.rb
stylus-0.2.2 spec/generators/assets_generator_spec.rb
stylus-0.2.1 spec/generators/assets_generator_spec.rb
stylus-0.2.1.beta spec/generators/assets_generator_spec.rb
stylus-0.2.0 spec/generators/assets_generator_spec.rb