Sha256: 2307b7b6efda46b11e002354f05a7a6348f3e1f9fbc47347a9c78c69a841ed69
Contents?: true
Size: 887 Bytes
Versions: 33
Compression:
Stored size: 887 Bytes
Contents
=begin require 'test_helper' class CalendarControllerTest < Zena::Controller::TestCase def test_show_date get 'show', :date=>Date.civil(2006,11,1).to_s, :size=>'tiny', :id=>nodes_id(:zena), :find=>'news' assert_response :success assert_match %r{tinycal.*class='sun'><p>19}m, @response.body end def test_open_cal get 'open', :date=>Date.civil(2006,11,1).to_s, :size=>'large', :id=>nodes_id(:zena), :find=>'news' assert_response :success assert_match %r{\$\('notes'\).style.display.*none}, @response.body assert_match %r{largecal.*class='sun'><p>19}m, @response.body assert_match %r{\$\('tinycal'\).style.visibility.*hidden}, @response.body assert_match %r{\$\('tinycal_close'\).style.visibility.*visible}, @response.body assert_match %r{\$\('largecal'\).style.display.*block}, @response.body end def test_date_selection end end =end
Version data entries
33 entries across 33 versions & 1 rubygems