aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorXinhui2017-11-24 16:52:25 +0100
committerXinhui2017-11-28 12:23:38 +0100
commitc4919718286758b4a34ad31f4c8b682fcce25d23 (patch)
tree1f2db6b937e32ad12a90af067c77f20d67296418 /spec
parent529399a52ed3f19a78cf843c22ead0202c813820 (diff)
downloadchouette-core-c4919718286758b4a34ad31f4c8b682fcce25d23.tar.bz2
Refactoring move render pageheader into layout
Diffstat (limited to 'spec')
-rw-r--r--spec/views/companies/edit.html.erb_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/views/companies/edit.html.erb_spec.rb b/spec/views/companies/edit.html.erb_spec.rb
index 4566ed64c..379f4dfa0 100644
--- a/spec/views/companies/edit.html.erb_spec.rb
+++ b/spec/views/companies/edit.html.erb_spec.rb
@@ -6,13 +6,6 @@ describe "/companies/edit", :type => :view do
let!(:companies) { Array.new(2) { create(:company) } }
let!(:line_referential) { assign :line_referential, company.line_referential }
- describe "test" do
- it "should render h2 with the company name" do
- render
- expect(rendered).to have_selector("h2", :text => Regexp.new(company.name))
- end
- end
-
describe "form" do
it "should render input for name" do
render