static_blocks 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 27761
1
+ 16769
@@ -4,14 +4,14 @@ feature "csv import and export" do
4
4
 
5
5
  before do
6
6
  visit "/static_blocks"
7
- click_link "New block"
7
+ click_link "New snippet"
8
8
  fill_in "Title", :with => "foo"
9
9
  fill_in "Content", :with => "english bar"
10
10
  click_button "Submit"
11
11
  end
12
12
 
13
13
  scenario "can download a default csv before a translation" do
14
- click_link "Export"
14
+ click_link "Export snippets"
15
15
  page.should have_content("id,title,content,status,created_at,updated_at")
16
16
  page.should have_content("1,foo,english bar,published,")
17
17
  end
@@ -26,7 +26,7 @@ feature "csv import and export" do
26
26
  end
27
27
 
28
28
  scenario "the original static block fields will be changed after a translation" do
29
- click_link "Export"
29
+ click_link "Export snippets"
30
30
  page.should have_content("id,title,content,status,created_at,updated_at")
31
31
  page.should have_content("1,foo,wookie bar,published,")
32
32
  end
@@ -1,23 +1,23 @@
1
1
  require "spec_helper"
2
2
 
3
- feature "search blocks" do
3
+ feature "search snippets" do
4
4
 
5
5
  before do
6
6
  visit "/static_blocks"
7
- click_link "New block"
7
+ click_link "New snippet"
8
8
  fill_in "Title", :with => "foo"
9
9
  fill_in "Content", :with => "english bar"
10
10
  click_button "Submit"
11
- click_link "List blocks"
11
+ click_link "List snippets"
12
12
  end
13
13
 
14
- scenario "can search default blocks" do
14
+ scenario "can search default snippets" do
15
15
  fill_in "Content contains", :with => "english bar"
16
16
  click_button "Search"
17
17
  page.should have_content("english bar")
18
18
  end
19
19
 
20
- describe "search translated blocks" do
20
+ describe "search translated snippets" do
21
21
 
22
22
  before do
23
23
  visit "/static_blocks"
@@ -25,10 +25,10 @@ feature "search blocks" do
25
25
  click_link "Edit"
26
26
  fill_in "snippet_content", :with => "wookie bar"
27
27
  click_button "Submit"
28
- click_link "List blocks"
28
+ click_link "List snippets"
29
29
  end
30
30
 
31
- scenario "can search translated blocks" do
31
+ scenario "can search translated snippets" do
32
32
  fill_in "Title contains", :with => "foo"
33
33
  fill_in "Content contains", :with => "wookie bar"
34
34
  select('Published', :from => "Status")
@@ -13,7 +13,7 @@ feature "translations" do
13
13
  fill_in "snippet_content", :with => "wookie bar"
14
14
  click_button "Submit"
15
15
  page.should have_content("Static block was successfully updated.")
16
- click_link "List blocks"
16
+ click_link "List snippets"
17
17
  page.should have_content("wookie bar")
18
18
  page.should_not have_content("english bar")
19
19
  click_link "en"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: