Sha256: 8ce8f063a40d8b1405652e5507bfb633af9cb6f4a38db39c568ea09e7e17c179

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

require "spec_helper"

feature "Process Page" do
  background do
    @p1_id = ::Yawl::Process.insert(:name => "p1", :desired_state => "test1")
  end

  scenario "javascript uses correct process url" do
    visit yawl_rails.yawl_process_path('p1')
    expect(page.source).to include("/yawl_rails/processes/p1/steps")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yawl_rails-0.3.0 spec/features/yawl_rails/processes/show_spec.rb
yawl_rails-0.2.2 spec/features/yawl_rails/processes/show_spec.rb
yawl_rails-0.2.1 spec/features/yawl_rails/processes/show_spec.rb
yawl_rails-0.2.0 spec/features/yawl_rails/processes/show_spec.rb