diff --git a/spec/views/accounts/_edit.haml_spec.rb b/spec/views/accounts/_edit.haml_spec.rb index 88aeef2294..4fefcf4249 100644 --- a/spec/views/accounts/_edit.haml_spec.rb +++ b/spec/views/accounts/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/_edit" do +describe "accounts/_edit" do include AccountsHelper before do diff --git a/spec/views/accounts/_new.haml_spec.rb b/spec/views/accounts/_new.haml_spec.rb index 22f2d868a4..5371b12457 100644 --- a/spec/views/accounts/_new.haml_spec.rb +++ b/spec/views/accounts/_new.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/accounts/_new" do +describe "accounts/_new" do include AccountsHelper before do diff --git a/spec/views/accounts/create.js.haml_spec.rb b/spec/views/accounts/create.js.haml_spec.rb index d2a35f669d..47f3e4d0fb 100644 --- a/spec/views/accounts/create.js.haml_spec.rb +++ b/spec/views/accounts/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/create" do +describe "accounts/create" do include AccountsHelper before do diff --git a/spec/views/accounts/destroy.js.haml_spec.rb b/spec/views/accounts/destroy.js.haml_spec.rb index ea6d32d3b3..444063d752 100644 --- a/spec/views/accounts/destroy.js.haml_spec.rb +++ b/spec/views/accounts/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/destroy" do +describe "accounts/destroy" do include AccountsHelper before do diff --git a/spec/views/accounts/edit.js.haml_spec.rb b/spec/views/accounts/edit.js.haml_spec.rb index a3d6030599..994b90eb27 100644 --- a/spec/views/accounts/edit.js.haml_spec.rb +++ b/spec/views/accounts/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/edit" do +describe "accounts/edit" do include AccountsHelper before do diff --git a/spec/views/accounts/index.haml_spec.rb b/spec/views/accounts/index.haml_spec.rb index c96a838a26..a76559bc7b 100644 --- a/spec/views/accounts/index.haml_spec.rb +++ b/spec/views/accounts/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/accounts/index" do +describe "accounts/index" do include AccountsHelper before do diff --git a/spec/views/accounts/index.js.haml_spec.rb b/spec/views/accounts/index.js.haml_spec.rb index 03734f80b2..60853ec415 100644 --- a/spec/views/accounts/index.js.haml_spec.rb +++ b/spec/views/accounts/index.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/index" do +describe "accounts/index" do include AccountsHelper before do diff --git a/spec/views/accounts/new.js.haml_spec.rb b/spec/views/accounts/new.js.haml_spec.rb index 901d25b0d2..1e399e7d70 100644 --- a/spec/views/accounts/new.js.haml_spec.rb +++ b/spec/views/accounts/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/new" do +describe "accounts/new" do include AccountsHelper before do diff --git a/spec/views/accounts/show.haml_spec.rb b/spec/views/accounts/show.haml_spec.rb index 19c17c4953..f25381f51e 100644 --- a/spec/views/accounts/show.haml_spec.rb +++ b/spec/views/accounts/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/show" do +describe "accounts/show" do include AccountsHelper before do diff --git a/spec/views/accounts/update.js.haml_spec.rb b/spec/views/accounts/update.js.haml_spec.rb index e71a856279..de98d5f4f4 100644 --- a/spec/views/accounts/update.js.haml_spec.rb +++ b/spec/views/accounts/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/accounts/update" do +describe "accounts/update" do include AccountsHelper before do diff --git a/spec/views/admin/users/index.haml_spec.rb b/spec/views/admin/users/index.haml_spec.rb index 85d934e989..90ae7bad07 100755 --- a/spec/views/admin/users/index.haml_spec.rb +++ b/spec/views/admin/users/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') -describe "/admin/users/index" do +describe "admin/users/index" do before do login_admin end diff --git a/spec/views/admin/users/show.haml_spec.rb b/spec/views/admin/users/show.haml_spec.rb index 289620eb48..91c4dd1518 100755 --- a/spec/views/admin/users/show.haml_spec.rb +++ b/spec/views/admin/users/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') -describe "/admin/users/show" do +describe "admin/users/show" do before do assign(:user, @user = stub_model(User)) end diff --git a/spec/views/application/auto_complete.haml_spec.rb b/spec/views/application/auto_complete.haml_spec.rb index f0ba9920f7..887ead0d0c 100644 --- a/spec/views/application/auto_complete.haml_spec.rb +++ b/spec/views/application/auto_complete.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/application/_auto_complete" do +describe "application/_auto_complete" do include AccountsHelper before do diff --git a/spec/views/campaigns/_edit.haml_spec.rb b/spec/views/campaigns/_edit.haml_spec.rb index 3c4b8c6413..3b97df0233 100644 --- a/spec/views/campaigns/_edit.haml_spec.rb +++ b/spec/views/campaigns/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/_edit" do +describe "campaigns/_edit" do include CampaignsHelper before do diff --git a/spec/views/campaigns/_new.haml_spec.rb b/spec/views/campaigns/_new.haml_spec.rb index a1074700e5..bc3cd71b33 100644 --- a/spec/views/campaigns/_new.haml_spec.rb +++ b/spec/views/campaigns/_new.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/campaigns/_new" do +describe "campaigns/_new" do include CampaignsHelper before do diff --git a/spec/views/campaigns/create.js.haml_spec.rb b/spec/views/campaigns/create.js.haml_spec.rb index 3938abfd24..024c938ddc 100755 --- a/spec/views/campaigns/create.js.haml_spec.rb +++ b/spec/views/campaigns/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/create" do +describe "campaigns/create" do before do login end diff --git a/spec/views/campaigns/destroy.js.haml_spec.rb b/spec/views/campaigns/destroy.js.haml_spec.rb index 5c8a568b6b..b55be51721 100755 --- a/spec/views/campaigns/destroy.js.haml_spec.rb +++ b/spec/views/campaigns/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/destroy" do +describe "campaigns/destroy" do before do login assign(:campaign, @campaign = build_stubbed(:campaign, user: current_user)) diff --git a/spec/views/campaigns/edit.js.haml_spec.rb b/spec/views/campaigns/edit.js.haml_spec.rb index b9b271c84d..3c52fd5ec2 100755 --- a/spec/views/campaigns/edit.js.haml_spec.rb +++ b/spec/views/campaigns/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/edit" do +describe "campaigns/edit" do include CampaignsHelper before do diff --git a/spec/views/campaigns/index.haml_spec.rb b/spec/views/campaigns/index.haml_spec.rb index f7963115ea..5e9c4a998f 100644 --- a/spec/views/campaigns/index.haml_spec.rb +++ b/spec/views/campaigns/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/campaigns/index" do +describe "campaigns/index" do include CampaignsHelper before do diff --git a/spec/views/campaigns/index.js.haml_spec.rb b/spec/views/campaigns/index.js.haml_spec.rb index a33498fd4f..8a9e8bf38e 100755 --- a/spec/views/campaigns/index.js.haml_spec.rb +++ b/spec/views/campaigns/index.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/index" do +describe "campaigns/index" do include CampaignsHelper before do diff --git a/spec/views/campaigns/new.js.haml_spec.rb b/spec/views/campaigns/new.js.haml_spec.rb index 5424cb3df8..244105f50f 100755 --- a/spec/views/campaigns/new.js.haml_spec.rb +++ b/spec/views/campaigns/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/new" do +describe "campaigns/new" do include CampaignsHelper before do diff --git a/spec/views/campaigns/show.haml_spec.rb b/spec/views/campaigns/show.haml_spec.rb index 223ccc7232..8f5cedfc8d 100644 --- a/spec/views/campaigns/show.haml_spec.rb +++ b/spec/views/campaigns/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/campaigns/show" do +describe "campaigns/show" do include CampaignsHelper before do diff --git a/spec/views/campaigns/update.js.haml_spec.rb b/spec/views/campaigns/update.js.haml_spec.rb index cd554eeabc..9d6a7c8a32 100755 --- a/spec/views/campaigns/update.js.haml_spec.rb +++ b/spec/views/campaigns/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/campaigns/update" do +describe "campaigns/update" do before do login assign(:campaign, @campaign = build_stubbed(:campaign, user: current_user)) diff --git a/spec/views/comments/edit.js.haml_spec.rb b/spec/views/comments/edit.js.haml_spec.rb index 4bbef33694..b2606d1398 100644 --- a/spec/views/comments/edit.js.haml_spec.rb +++ b/spec/views/comments/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/comments/edit" do +describe "comments/edit" do include CommentsHelper before do diff --git a/spec/views/contacts/_edit.haml_spec.rb b/spec/views/contacts/_edit.haml_spec.rb index d1ef7a7557..149d6b4262 100644 --- a/spec/views/contacts/_edit.haml_spec.rb +++ b/spec/views/contacts/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/contacts/_edit" do +describe "contacts/_edit" do include ContactsHelper before do diff --git a/spec/views/contacts/_new.haml_spec.rb b/spec/views/contacts/_new.haml_spec.rb index 6ecf506c3c..3720f927f1 100644 --- a/spec/views/contacts/_new.haml_spec.rb +++ b/spec/views/contacts/_new.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/contacts/_new" do +describe "contacts/_new" do include ContactsHelper before do diff --git a/spec/views/contacts/create.js.haml_spec.rb b/spec/views/contacts/create.js.haml_spec.rb index 3b3551ef71..bb7947d652 100644 --- a/spec/views/contacts/create.js.haml_spec.rb +++ b/spec/views/contacts/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/create" do +describe "contacts/create" do include ContactsHelper before do diff --git a/spec/views/contacts/destroy.js.haml_spec.rb b/spec/views/contacts/destroy.js.haml_spec.rb index 869e53c345..740ebc59af 100644 --- a/spec/views/contacts/destroy.js.haml_spec.rb +++ b/spec/views/contacts/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/destroy" do +describe "contacts/destroy" do include ContactsHelper before do diff --git a/spec/views/contacts/edit.js.haml_spec.rb b/spec/views/contacts/edit.js.haml_spec.rb index ae92f6bd6e..bb3f64d710 100644 --- a/spec/views/contacts/edit.js.haml_spec.rb +++ b/spec/views/contacts/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/edit" do +describe "contacts/edit" do include ContactsHelper before do diff --git a/spec/views/contacts/index.haml_spec.rb b/spec/views/contacts/index.haml_spec.rb index 7d40c75cce..b3cded6801 100644 --- a/spec/views/contacts/index.haml_spec.rb +++ b/spec/views/contacts/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/index" do +describe "contacts/index" do include ContactsHelper before do diff --git a/spec/views/contacts/index.js.html_spec.rb b/spec/views/contacts/index.js.html_spec.rb index 924a53827f..4c9bb39091 100644 --- a/spec/views/contacts/index.js.html_spec.rb +++ b/spec/views/contacts/index.js.html_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/index" do +describe "contacts/index" do include ContactsHelper before do diff --git a/spec/views/contacts/new.js.haml_spec.rb b/spec/views/contacts/new.js.haml_spec.rb index 252ab8fef9..1527c1144c 100644 --- a/spec/views/contacts/new.js.haml_spec.rb +++ b/spec/views/contacts/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/new" do +describe "contacts/new" do include ContactsHelper before do diff --git a/spec/views/contacts/show.haml_spec.rb b/spec/views/contacts/show.haml_spec.rb index 5e2b827d0a..a5244547a8 100644 --- a/spec/views/contacts/show.haml_spec.rb +++ b/spec/views/contacts/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/contacts/show" do +describe "contacts/show" do include ContactsHelper before do diff --git a/spec/views/contacts/update.js.haml_spec.rb b/spec/views/contacts/update.js.haml_spec.rb index 9795fb433c..a2286a3395 100644 --- a/spec/views/contacts/update.js.haml_spec.rb +++ b/spec/views/contacts/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/contacts/update" do +describe "contacts/update" do include ContactsHelper before do diff --git a/spec/views/home/index.haml_spec.rb b/spec/views/home/index.haml_spec.rb index daa2a288e5..fef01d86dd 100644 --- a/spec/views/home/index.haml_spec.rb +++ b/spec/views/home/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/home/index" do +describe "home/index" do include HomeHelper before do diff --git a/spec/views/home/index.js.haml_spec.rb b/spec/views/home/index.js.haml_spec.rb index 832dc18eb8..98d735daf4 100644 --- a/spec/views/home/index.js.haml_spec.rb +++ b/spec/views/home/index.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/home/index" do +describe "home/index" do include HomeHelper before do diff --git a/spec/views/home/options.js.haml_spec.rb b/spec/views/home/options.js.haml_spec.rb index b6945f0c28..db232612de 100644 --- a/spec/views/home/options.js.haml_spec.rb +++ b/spec/views/home/options.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/home/options" do +describe "home/options" do before do login end diff --git a/spec/views/leads/_convert.haml_spec.rb b/spec/views/leads/_convert.haml_spec.rb index 8fedae9546..339bb89c38 100644 --- a/spec/views/leads/_convert.haml_spec.rb +++ b/spec/views/leads/_convert.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/_convert" do +describe "leads/_convert" do include LeadsHelper before do diff --git a/spec/views/leads/_edit.haml_spec.rb b/spec/views/leads/_edit.haml_spec.rb index 236865e4be..37c5a950c7 100644 --- a/spec/views/leads/_edit.haml_spec.rb +++ b/spec/views/leads/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/_edit" do +describe "leads/_edit" do include LeadsHelper before do diff --git a/spec/views/leads/_new.haml_spec.rb b/spec/views/leads/_new.haml_spec.rb index 792c0d0e7d..bd1d495b4c 100644 --- a/spec/views/leads/_new.haml_spec.rb +++ b/spec/views/leads/_new.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/_new" do +describe "leads/_new" do include LeadsHelper before do diff --git a/spec/views/leads/_sidebar_show.haml_spec.rb b/spec/views/leads/_sidebar_show.haml_spec.rb index 5d81007ee3..1061c97bf7 100644 --- a/spec/views/leads/_sidebar_show.haml_spec.rb +++ b/spec/views/leads/_sidebar_show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/_sidebar_show" do +describe "leads/_sidebar_show" do include LeadsHelper before do diff --git a/spec/views/leads/convert.js.haml_spec.rb b/spec/views/leads/convert.js.haml_spec.rb index a3ad83a7cb..efa41996d6 100755 --- a/spec/views/leads/convert.js.haml_spec.rb +++ b/spec/views/leads/convert.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/convert" do +describe "leads/convert" do include LeadsHelper before do diff --git a/spec/views/leads/create.js.haml_spec.rb b/spec/views/leads/create.js.haml_spec.rb index 2d3b4ab2ff..c554c1e1c4 100755 --- a/spec/views/leads/create.js.haml_spec.rb +++ b/spec/views/leads/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/create" do +describe "leads/create" do before do controller.controller_path = 'leads' login diff --git a/spec/views/leads/destroy.js.haml_spec.rb b/spec/views/leads/destroy.js.haml_spec.rb index c0b44a77c5..003820e851 100755 --- a/spec/views/leads/destroy.js.haml_spec.rb +++ b/spec/views/leads/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/destroy" do +describe "leads/destroy" do before do login assign(:lead, @lead = build_stubbed(:lead)) diff --git a/spec/views/leads/edit.js.haml_spec.rb b/spec/views/leads/edit.js.haml_spec.rb index 7d01ba70bb..ded616c9c1 100755 --- a/spec/views/leads/edit.js.haml_spec.rb +++ b/spec/views/leads/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/edit" do +describe "leads/edit" do include LeadsHelper before do diff --git a/spec/views/leads/index.haml_spec.rb b/spec/views/leads/index.haml_spec.rb index c1284047b6..399bceda1e 100644 --- a/spec/views/leads/index.haml_spec.rb +++ b/spec/views/leads/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/index" do +describe "leads/index" do include LeadsHelper before do diff --git a/spec/views/leads/index.js.haml_spec.rb b/spec/views/leads/index.js.haml_spec.rb index 0ce57aeec0..d36ea2dad5 100755 --- a/spec/views/leads/index.js.haml_spec.rb +++ b/spec/views/leads/index.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/index" do +describe "leads/index" do include LeadsHelper before do diff --git a/spec/views/leads/new.js.haml_spec.rb b/spec/views/leads/new.js.haml_spec.rb index dee8667307..cf639fbaac 100755 --- a/spec/views/leads/new.js.haml_spec.rb +++ b/spec/views/leads/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/new" do +describe "leads/new" do include LeadsHelper before do diff --git a/spec/views/leads/promote.js.haml_spec.rb b/spec/views/leads/promote.js.haml_spec.rb index 9e36e4a7f4..175883188c 100755 --- a/spec/views/leads/promote.js.haml_spec.rb +++ b/spec/views/leads/promote.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/promote" do +describe "leads/promote" do before do login assign(:users, [current_user]) diff --git a/spec/views/leads/reject.js.haml_spec.rb b/spec/views/leads/reject.js.haml_spec.rb index 5e73f6ea21..425b07a1d7 100755 --- a/spec/views/leads/reject.js.haml_spec.rb +++ b/spec/views/leads/reject.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/reject" do +describe "leads/reject" do before do login assign(:lead, @lead = build_stubbed(:lead, status: "new")) diff --git a/spec/views/leads/show.haml_spec.rb b/spec/views/leads/show.haml_spec.rb index bf223621ee..464a428c5c 100644 --- a/spec/views/leads/show.haml_spec.rb +++ b/spec/views/leads/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/leads/show" do +describe "leads/show" do include LeadsHelper before do diff --git a/spec/views/leads/update.js.haml_spec.rb b/spec/views/leads/update.js.haml_spec.rb index b0b9296ce0..0f6c91e1ff 100755 --- a/spec/views/leads/update.js.haml_spec.rb +++ b/spec/views/leads/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/leads/update" do +describe "leads/update" do before do login assign(:lead, @lead = build_stubbed(:lead, user: current_user, assignee: build_stubbed(:user))) diff --git a/spec/views/opportunities/_edit.haml_spec.rb b/spec/views/opportunities/_edit.haml_spec.rb index 3b2ea54b5d..09e962e094 100644 --- a/spec/views/opportunities/_edit.haml_spec.rb +++ b/spec/views/opportunities/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/opportunities/_edit" do +describe "opportunities/_edit" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/_new.haml_spec.rb b/spec/views/opportunities/_new.haml_spec.rb index 1d329bb6fc..9d98498ce6 100644 --- a/spec/views/opportunities/_new.haml_spec.rb +++ b/spec/views/opportunities/_new.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/opportunities/_new" do +describe "opportunities/_new" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/create.js.haml_spec.rb b/spec/views/opportunities/create.js.haml_spec.rb index 562f3d866d..a76a375466 100644 --- a/spec/views/opportunities/create.js.haml_spec.rb +++ b/spec/views/opportunities/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/create" do +describe "opportunities/create" do before do login assign(:stage, Setting.unroll(:opportunity_stage)) diff --git a/spec/views/opportunities/destroy.js.haml_spec.rb b/spec/views/opportunities/destroy.js.haml_spec.rb index 31f85d528a..3cd54651d5 100644 --- a/spec/views/opportunities/destroy.js.haml_spec.rb +++ b/spec/views/opportunities/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/destroy" do +describe "opportunities/destroy" do before do login assign(:opportunity, @opportunity = build_stubbed(:opportunity)) diff --git a/spec/views/opportunities/edit.js.haml_spec.rb b/spec/views/opportunities/edit.js.haml_spec.rb index 6ade25c911..d29271bf28 100644 --- a/spec/views/opportunities/edit.js.haml_spec.rb +++ b/spec/views/opportunities/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/edit" do +describe "opportunities/edit" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/index.haml_spec.rb b/spec/views/opportunities/index.haml_spec.rb index 96b461c133..467e1d1079 100644 --- a/spec/views/opportunities/index.haml_spec.rb +++ b/spec/views/opportunities/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/opportunities/index" do +describe "opportunities/index" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/index.js.haml_spec.rb b/spec/views/opportunities/index.js.haml_spec.rb index 412ca5d9a8..f33d34c2ba 100644 --- a/spec/views/opportunities/index.js.haml_spec.rb +++ b/spec/views/opportunities/index.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/index" do +describe "opportunities/index" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/new.js.haml_spec.rb b/spec/views/opportunities/new.js.haml_spec.rb index d3b37d3170..8d083b6ce4 100644 --- a/spec/views/opportunities/new.js.haml_spec.rb +++ b/spec/views/opportunities/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/new" do +describe "opportunities/new" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/show.haml_spec.rb b/spec/views/opportunities/show.haml_spec.rb index 6b3ea72c8b..aa1157b626 100644 --- a/spec/views/opportunities/show.haml_spec.rb +++ b/spec/views/opportunities/show.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/opportunities/show" do +describe "opportunities/show" do include OpportunitiesHelper before do diff --git a/spec/views/opportunities/update.js.haml_spec.rb b/spec/views/opportunities/update.js.haml_spec.rb index ba5430212f..da69c7330c 100644 --- a/spec/views/opportunities/update.js.haml_spec.rb +++ b/spec/views/opportunities/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/opportunities/update" do +describe "opportunities/update" do before do login diff --git a/spec/views/tasks/_edit.haml_spec.rb b/spec/views/tasks/_edit.haml_spec.rb index 49d039ff38..c394aca724 100644 --- a/spec/views/tasks/_edit.haml_spec.rb +++ b/spec/views/tasks/_edit.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/_edit" do +describe "tasks/_edit" do include TasksHelper before do diff --git a/spec/views/tasks/complete.js.haml_spec.rb b/spec/views/tasks/complete.js.haml_spec.rb index b11a989042..434056437c 100644 --- a/spec/views/tasks/complete.js.haml_spec.rb +++ b/spec/views/tasks/complete.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/complete" do +describe "tasks/complete" do include TasksHelper before do diff --git a/spec/views/tasks/create.js.haml_spec.rb b/spec/views/tasks/create.js.haml_spec.rb index 10d5ada09e..55e7c61eff 100644 --- a/spec/views/tasks/create.js.haml_spec.rb +++ b/spec/views/tasks/create.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/create" do +describe "tasks/create" do include TasksHelper before do diff --git a/spec/views/tasks/destroy.js.haml_spec.rb b/spec/views/tasks/destroy.js.haml_spec.rb index 8e132d7944..55bd96cc81 100644 --- a/spec/views/tasks/destroy.js.haml_spec.rb +++ b/spec/views/tasks/destroy.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/destroy" do +describe "tasks/destroy" do include TasksHelper before do diff --git a/spec/views/tasks/edit.js.haml_spec.rb b/spec/views/tasks/edit.js.haml_spec.rb index bc529f5840..bc44dd4dd9 100644 --- a/spec/views/tasks/edit.js.haml_spec.rb +++ b/spec/views/tasks/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/edit" do +describe "tasks/edit" do include TasksHelper before do diff --git a/spec/views/tasks/index.haml_spec.rb b/spec/views/tasks/index.haml_spec.rb index 179fccfad4..fad9363aa2 100644 --- a/spec/views/tasks/index.haml_spec.rb +++ b/spec/views/tasks/index.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/index" do +describe "tasks/index" do include TasksHelper before do diff --git a/spec/views/tasks/new.js.haml_spec.rb b/spec/views/tasks/new.js.haml_spec.rb index e7c8cef54c..cc40a8e9a8 100644 --- a/spec/views/tasks/new.js.haml_spec.rb +++ b/spec/views/tasks/new.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/new" do +describe "tasks/new" do include TasksHelper before do diff --git a/spec/views/tasks/uncomplete.js.haml_spec.rb b/spec/views/tasks/uncomplete.js.haml_spec.rb index a417228f9f..0b6e9bb16c 100644 --- a/spec/views/tasks/uncomplete.js.haml_spec.rb +++ b/spec/views/tasks/uncomplete.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/uncomplete" do +describe "tasks/uncomplete" do include TasksHelper before do diff --git a/spec/views/tasks/update.js.haml_spec.rb b/spec/views/tasks/update.js.haml_spec.rb index 15659eca70..a1ce3b64c1 100644 --- a/spec/views/tasks/update.js.haml_spec.rb +++ b/spec/views/tasks/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/tasks/update" do +describe "tasks/update" do include TasksHelper before do diff --git a/spec/views/users/avatar.js.haml_spec.rb b/spec/views/users/avatar.js.haml_spec.rb index b204d494df..54fb149aca 100644 --- a/spec/views/users/avatar.js.haml_spec.rb +++ b/spec/views/users/avatar.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') -describe "/users/avatar" do +describe "users/avatar" do include UsersHelper before do diff --git a/spec/views/users/change_password.js.haml_spec.rb b/spec/views/users/change_password.js.haml_spec.rb index 218ef9312b..db1fa0fece 100644 --- a/spec/views/users/change_password.js.haml_spec.rb +++ b/spec/views/users/change_password.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/users/change_password" do +describe "users/change_password" do include UsersHelper before do diff --git a/spec/views/users/edit.js.haml_spec.rb b/spec/views/users/edit.js.haml_spec.rb index e7db265527..f0c6ab7349 100644 --- a/spec/views/users/edit.js.haml_spec.rb +++ b/spec/views/users/edit.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/users/edit" do +describe "users/edit" do include UsersHelper before do diff --git a/spec/views/users/password.js.haml_spec.rb b/spec/views/users/password.js.haml_spec.rb index 89fb83e572..0125cb5e93 100644 --- a/spec/views/users/password.js.haml_spec.rb +++ b/spec/views/users/password.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/users/password" do +describe "users/password" do include UsersHelper before do diff --git a/spec/views/users/update.js.haml_spec.rb b/spec/views/users/update.js.haml_spec.rb index ac7e7bd65f..cd4b651821 100644 --- a/spec/views/users/update.js.haml_spec.rb +++ b/spec/views/users/update.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/users/update" do +describe "users/update" do include UsersHelper before do diff --git a/spec/views/users/upload_avatar.js.haml_spec.rb b/spec/views/users/upload_avatar.js.haml_spec.rb index 647597ebce..0b2242a5b6 100644 --- a/spec/views/users/upload_avatar.js.haml_spec.rb +++ b/spec/views/users/upload_avatar.js.haml_spec.rb @@ -7,7 +7,7 @@ #------------------------------------------------------------------------------ require 'spec_helper' -describe "/users/upload_avatar" do +describe "users/upload_avatar" do include UsersHelper before do