Commit d76d8974 authored by Carlos Ribeiro's avatar Carlos Ribeiro

Change to single-quoted strings in help_pages_spec

parent 714ef622
require 'spec_helper' require 'spec_helper'
describe "Help Pages", feature: true do describe 'Help Pages', feature: true do
describe "Show SSH page" do describe 'Show SSH page' do
before do before do
login_as :user login_as :user
end end
it "replace the variable $your_email with the email of the user" do it 'replace the variable $your_email with the email of the user' do
visit help_page_path(category: "ssh", file: "ssh.md") visit help_page_path(category: 'ssh', file: 'ssh.md')
page.should have_content("ssh-keygen -t rsa -C \"#{@user.email}\"") page.should have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment