spec/features/text_spec.rb in redditor-0.1.20 vs spec/features/text_spec.rb in redditor-0.1.22
- old
+ new
@@ -16,11 +16,10 @@
def submit() find_button("Submit").click; end
def save_block() find("a.redditor__update").click; end
def delete_block() find("a.redditor__delete").click; end
it "Saves text block to article", type: :feature, js: true do
- pending
add_block
show_text_area
find(".redditor__textarea").set("test text block")
submit
show_text_area
@@ -47,10 +46,9 @@
end
wait_until { expect(text_value).to eq nil }
end
it "Saves text block to article on save button", type: :feature, js: true do
- pending
add_block
show_text_area
find("textarea").set("test text block")
save_block
visit_article