Skip to content

Commit 807f196

Browse files
committed
ads new feature test that the /main page shows the loading when first hit before backbone loads
1 parent 3190667 commit 807f196

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/features/main_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require 'spec_helper'
2+
3+
describe 'resources backbone page' do
4+
it 'shows that the page is loading on get of /main' do
5+
visit '/main'
6+
page.should have_content('Loading...')
7+
end
8+
end

0 commit comments

Comments
 (0)