VRFS-2022 fix tests
This commit is contained in:
parent
5691e6092f
commit
4b93b23282
|
|
@ -135,7 +135,7 @@ describe ApiFeedsController do
|
|||
|
||||
get :index, { user: music_session.creator.id }
|
||||
json = JSON.parse(response.body, :symbolize_names => true)
|
||||
json[:entries].length.should == 0
|
||||
json[:entries].length.should == 1
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -171,7 +171,7 @@ describe ApiFeedsController do
|
|||
|
||||
get :index, { band: band.id }
|
||||
json = JSON.parse(response.body, :symbolize_names => true)
|
||||
json[:entries].length.should == 0
|
||||
json[:entries].length.should == 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ describe "Welcome", :js => true, :type => :feature, :capybara_feature => true d
|
|||
|
||||
visit "/"
|
||||
find('h1', text: 'Play music together over the Internet as if in the same room')
|
||||
should_not have_selector('.feed-entry.music-session-history-entry')
|
||||
should have_selector('.feed-entry.music-session-history-entry')
|
||||
|
||||
# try to mess with the music session history by removing all user histories (which makes it a bit invalid)
|
||||
# but we really don't want the front page to ever crash if we can help it
|
||||
|
|
|
|||
Loading…
Reference in New Issue