[fix #1065] Change logout logo for plain text
This commit is contained in:
parent
b2c9d8f227
commit
271abc72fb
5 changed files with 16 additions and 17 deletions
|
@ -26,14 +26,13 @@ feature 'Administrator connection' do
|
|||
scenario 'it displays the menu' do
|
||||
expect(page).to have_css('a#profile')
|
||||
expect(page).to have_css('#sign-out')
|
||||
expect(page).to have_css('a.fa-sign-out')
|
||||
end
|
||||
context 'when clicking on sign-out' do
|
||||
before do
|
||||
stub_request(:get, "https://api.github.com/repos/sgmap/tps/releases/latest")
|
||||
.to_return(:status => 200, :body => '{"tag_name": "plip", "body": "blabla", "published_at": "2016-02-09T16:46:47Z"}', :headers => {})
|
||||
|
||||
page.find_by_id('sign-out').find('a.fa-sign-out').click
|
||||
page.find_by_id('sign-out').find('a').click
|
||||
end
|
||||
scenario 'admin is redireted to home page' do
|
||||
expect(page).to have_css('.landing')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue