guts 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ 77132
@@ -53,5 +53,14 @@ module Guts
53
53
 
54
54
  assert form_html.include?('type[site_id]')
55
55
  end
56
+
57
+ test 'should return link for toggling tinymce' do
58
+ result = toggle_tinymce 'field_value'
59
+
60
+ assert result.include?('href="#"')
61
+ assert result.include?('Toggle Editor Mode')
62
+ assert result.include?('class="toggle-tinymce"')
63
+ assert result.include?('data-editor-id="field_value"')
64
+ end
56
65
  end
57
66
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler King
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -3991,6 +3991,7 @@ files:
3991
3991
  - test/dummy/tmp/generators/initializer/config/initializers/guts.rb
3992
3992
  - test/dummy/tmp/generators/routes/config/routes.rb
3993
3993
  - test/dummy/tmp/generators/tinymce/config/tinymce.yml
3994
+ - test/dummy/tmp/pids/server.pid
3994
3995
  - test/fixtures/guts/authorizations.yml
3995
3996
  - test/fixtures/guts/categories.yml
3996
3997
  - test/fixtures/guts/categorizations.yml
@@ -7638,6 +7639,7 @@ test_files:
7638
7639
  - test/dummy/tmp/generators/initializer/config/initializers/guts.rb
7639
7640
  - test/dummy/tmp/generators/routes/config/routes.rb
7640
7641
  - test/dummy/tmp/generators/tinymce/config/tinymce.yml
7642
+ - test/dummy/tmp/pids/server.pid
7641
7643
  - test/fixtures/guts/authorizations.yml
7642
7644
  - test/fixtures/guts/categories.yml
7643
7645
  - test/fixtures/guts/categorizations.yml
@@ -7681,3 +7683,4 @@ test_files:
7681
7683
  - test/tasks/guts/db_task_test.rb
7682
7684
  - test/tasks/guts/users_task_test.rb
7683
7685
  - test/test_helper.rb
7686
+ has_rdoc: