aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/time_tables
diff options
context:
space:
mode:
authorjpl2017-04-04 14:59:34 +0200
committerjpl2017-04-04 14:59:41 +0200
commit043e813ce3c13be2611d20d5e084f2add79afb59 (patch)
treef4c44138d86f89ffa84a461403cf8031f2ccaefc /spec/views/time_tables
parent4bb68cf4748fae774cad7ef6c1e71e91e72a1af6 (diff)
downloadchouette-core-043e813ce3c13be2611d20d5e084f2add79afb59.tar.bz2
Refs #2892: starting integration update on timetables#edit
Diffstat (limited to 'spec/views/time_tables')
-rw-r--r--spec/views/time_tables/edit.html.erb_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/views/time_tables/edit.html.erb_spec.rb b/spec/views/time_tables/edit.html.erb_spec.rb
index 18c5d6d85..35d360042 100644
--- a/spec/views/time_tables/edit.html.erb_spec.rb
+++ b/spec/views/time_tables/edit.html.erb_spec.rb
@@ -5,9 +5,9 @@ describe "/time_tables/edit", :type => :view do
let!(:time_table) { assign(:time_table, create(:time_table) ) }
describe "test" do
- it "should render h2 with the group comment" do
- render
- expect(rendered).to have_selector("h2", :text => Regexp.new(time_table.comment))
+ it "should render h1 with the group comment" do
+ render
+ expect(rendered).to have_selector("h1", :text => Regexp.new(time_table.comment))
end
end