fixed tabbing issues within the project_spec feature spec - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 144cb46f510e1875f83ae84b3e623428847b29a1
DIR parent ab60705fa3d911254e6dc11b9ccd448d50fb0afa
HTML Author: zeknox <mccann.brandon@gmail.com>
Date: Fri, 23 Oct 2015 23:46:49 -0500
fixed tabbing issues within the project_spec feature spec
Diffstat:
M spec/features/projects_spec.rb | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
DIR diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb
@@ -8,18 +8,18 @@ RSpec.feature "Projects", type: :feature do
end
it "list all existing projects" do
- project = create(:project)
+ project = create(:project)
visit projects_path
expect(page).to have_content "WarVOX Projects"
- within "#projects-table" do
- expect(page).to have_content "Name"
- expect(page).to have_content "Description"
- expect(page).to have_content "Jobs"
- expect(page).to have_content "Calls"
- expect(page).to have_content "Analyzed"
- expect(page).to have_content "Created"
- expect(page).to have_content "Actions"
- expect(page).to have_content project.name
- end
+ within "#projects-table" do
+ expect(page).to have_content "Name"
+ expect(page).to have_content "Description"
+ expect(page).to have_content "Jobs"
+ expect(page).to have_content "Calls"
+ expect(page).to have_content "Analyzed"
+ expect(page).to have_content "Created"
+ expect(page).to have_content "Actions"
+ expect(page).to have_content project.name
+ end
end
end