Sha256: eb92dd5f1ed4da1e37ffd52e44127d98de8280796f1463dc5a47bce8e8f6f477

Contents?: true

Size: 669 Bytes

Versions: 18

Compression:

Stored size: 669 Bytes

Contents

# -*- coding: utf-8 -*-

require 'acceptance_helper'

feature '1.9 でエンコーディングエラーとなるリファラ' do
	scenario 'invalid sequence な場合' do
		disable_plugin('disp_referrer')

		append_default_diary

		src_path = File.expand_path('../../../fixtures/invalid-sequence-volatile.tdr', __FILE__)
		dist_path = File.expand_path('../../../../tmp/data/volatile.tdr', __FILE__)
		FileUtils.cp_r src_path, dist_path

		visit "/?date=#{Date.today.strftime('%Y%m%d')}"

		page.should have_content "さて、テストである。"
	end
end

# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:
# vim: ts=3

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
tdiary-4.0.2.20140201 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.2 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.1.20131102 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.1.20130929 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.1.20130903 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.1 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.0.20130826 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-4.0.0 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130727 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130722 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130720 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130617 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130614 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130604 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130527 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130518 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130508 spec/acceptance/bugfix/encoding_error_spec.rb
tdiary-3.2.2.20130507 spec/acceptance/bugfix/encoding_error_spec.rb