Sha256: 6056ab55d9ffd241c5f3d2492de74954cf20f9f29f073d5381ca5882a79cc29f

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

require 'rails_helper'

feature 'the tabs added to the resque web interface work correctly' do
  scenario 'the Schedule tab works' do
    visit ResqueWeb::Engine.app.url_helpers.overview_path
    click_link 'Schedule'
    expect(current_path).to eq resque_scheduler_engine_routes.schedules_path
  end

  scenario 'the Delayed tab works' do
    visit ResqueWeb::Engine.app.url_helpers.overview_path
    click_link 'Delayed'
    expect(current_path).to eq resque_scheduler_engine_routes.delayed_path
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resque-scheduler-web-0.0.3 spec/features/navigation_spec.rb
resque-scheduler-web-0.0.2 spec/features/navigation_spec.rb