Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Then the active main tab should be Logs
And no other main tabs should be active
+ Scenario: On Admin Messages
+ Given I visit admin messages page
+ Then the active main tab should be Messages
+ And no other main tabs should be active
+
Scenario: On Admin Hooks
Given I visit admin hooks page
Then the active main tab should be Hooks
Then 'the active main tab should be Resque' do
ensure_active_main_tab('Background Jobs')
end
+
+ Then 'the active main tab should be Messages' do
+ ensure_active_main_tab('Messages')
+ end
end
visit admin_logs_path
end
+ step 'I visit admin messages page' do
+ visit admin_broadcast_messages_path
+ end
+
step 'I visit admin hooks page' do
visit admin_hooks_path
end