Sha256: 203e1afd4d7707e16253efa232ef756f412241bef9d1706954684338fff9c024

Contents?: true

Size: 441 Bytes

Versions: 32

Compression:

Stored size: 441 Bytes

Contents

require 'spec_helper'

verify = lambda { |output|
  output.should =~ /function\(\)/
  output.should =~ /call\(this\)/
}

theories =
  [
    {
      :page => "coffeescript-page.coffee",
      :simple_name => "coffeescript-page",
      :syntax => :coffeescript,
      :extension => '.js',
      :matcher => verify
    }
  ]

describe Awestruct::Handlers::TiltHandler.to_s + "-CoffeeScript" do
  it_should_behave_like "a handler", theories
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
awestruct-0.6.7 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.6 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.5 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.4 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.3 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.2 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.1 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.0 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.0.RC1 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.0.alpha4 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.0.alpha3 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.6.0.alpha1 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.7 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.7.RC2 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.7.RC1 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.6 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.6.beta9 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.6.beta8 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.6.beta7 spec/awestruct/handlers/coffeescript_handler_spec.rb
awestruct-0.5.6.beta6 spec/awestruct/handlers/coffeescript_handler_spec.rb