Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
Merge 31079a1 into 64a7859
Browse files Browse the repository at this point in the history
  • Loading branch information
sanemat committed Jun 16, 2013
2 parents 64a7859 + 31079a1 commit 77d033d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ gemfile:
branches:
only:
- master
matrix:
allow_failures:
- gemfile: gemfiles/rails_master.gemfile
3 changes: 3 additions & 0 deletions test/test_actionview-link_to_blank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def test_link_tag_with_javascript_confirm

def test_link_tag_with_deprecated_confirm
skip('Not deprecate in Rails3.2') if ActionPack::VERSION::MAJOR == 3
skip('Remove in Rails4.1') if ActionPack::VERSION::MAJOR == 4 && ActionPack::VERSION::MINOR >= 1
assert_deprecated ":confirm option is deprecated and will be removed from Rails 4.1. Use 'data: { confirm: \'Text\' }' instead" do
assert_dom_equal(
%{<a href="http://www.example.com" data-confirm="Are you sure?" target="_blank">Hello</a>},
Expand Down Expand Up @@ -216,6 +217,7 @@ def test_link_tag_using_post_javascript_and_confirm

def test_link_tag_using_post_javascript_and_with_deprecated_confirm
skip('Not deprecate in Rails3.2') if ActionPack::VERSION::MAJOR == 3
skip('Remove in Rails4.1') if ActionPack::VERSION::MAJOR == 4 && ActionPack::VERSION::MINOR >= 1
assert_deprecated ":confirm option is deprecated and will be removed from Rails 4.1. Use 'data: { confirm: \'Text\' }' instead" do
assert_dom_equal(
%{<a href="http://www.example.com" data-method="post" rel="nofollow" data-confirm="Are you serious?" target="_blank">Hello</a>},
Expand All @@ -233,6 +235,7 @@ def test_link_tag_using_delete_javascript_and_href_and_confirm

def test_link_tag_using_delete_javascript_and_href_and_with_deprecated_confirm
skip('Not deprecate in Rails3.2') if ActionPack::VERSION::MAJOR == 3
skip('Remove in Rails4.1') if ActionPack::VERSION::MAJOR == 4 && ActionPack::VERSION::MINOR >= 1
assert_deprecated ":confirm option is deprecated and will be removed from Rails 4.1. Use 'data: { confirm: \'Text\' }' instead" do
assert_dom_equal(
%{<a href="\#" rel="nofollow" data-confirm="Are you serious?" data-method="delete" target="_blank">Destroy</a>},
Expand Down

0 comments on commit 77d033d

Please sign in to comment.