Sha256: fdb873f3911c5e9ecb993bfb65d7b24410e2883f271f312db67070fa6c09cd9c

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

require "spec_helper"

require_relative "app"

describe "Integrating with Sinatra", type: :feature, js: true do
  it "compiles the javascript" do
    Capybara.app = SinatraSample

    visit "/"

    expect(page).to have_content("Hello, World!")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sprockets-traceur-0.0.4 spec/sinatra/sinatra_integration_spec.rb
sprockets-traceur-0.0.3 spec/sinatra/sinatra_integration_spec.rb
sprockets-traceur-0.0.2 spec/sinatra/sinatra_integration_spec.rb
sprockets-traceur-0.0.1 spec/sinatra/sinatra_integration_spec.rb