Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
Added another (currently failing) integration spec for draggin paragr…
Browse files Browse the repository at this point in the history
…aphs.

Unsure about what exactly is going wrong here.
  • Loading branch information
stephenjudkins committed Sep 24, 2012
1 parent 3640d07 commit 8d4aac1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion spec/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def journal_for(page)

it "should move the paragraph and add provenance to the journal" do
local_page, remote_page = page.all(".page")

paragraph_to_copy = remote_page.find(".item")

drag_item_to paragraph_to_copy, local_page
Expand All @@ -251,6 +250,16 @@ def journal_for(page)
}
end

it "should move the paragraph from one to another" do
pending
local_page, remote_page = page.all(".page")
paragraph_to_copy = remote_page.find(".item")

drag_item_to paragraph_to_copy, local_page

journal_for("multiple-paragraphs").each {|j| p j }
journal_for("multiple-paragraphs").last['type'].should == 'remove'
end

end

Expand Down

0 comments on commit 8d4aac1

Please sign in to comment.