Sha256: 555f2523c03749da64773e30bde4d60e6abf54219c1b84950050b2c210ee4c26
Contents?: true
Size: 905 Bytes
Versions: 1
Compression:
Stored size: 905 Bytes
Contents
$: << File.join(File.dirname(__FILE__), '..') require 'test_helper' require 'integration_test_helper' class DashboardTest < ActionDispatch::IntegrationTest setup do @label = Factory(:xllabel, :published_at => nil) end test "labels appearing in dashboard" do assert !@label.published? login('administrator') visit dashboard_path(:lang => 'de', :format => 'html') assert page.has_link?(@label.value.to_s), "Couldn't find Label link '#{@label.value.to_s}' in dashboards concepts + labels list" click_link_or_button(@label.value.to_s) assert_equal label_path(@label, :lang => 'de', :format => 'html'), current_path end test "new label link in dashboard" do login('administrator') visit dashboard_path(:lang => 'de', :format => 'html') click_link_or_button("de") assert_equal new_label_path(:lang => 'de', :format => 'html'), current_path end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iqvoc_skosxl-1.1.4 | test/integration/dashboard_test.rb |