spec/concerns/landable/librarian.rb in landable-1.13.1 vs spec/concerns/landable/librarian.rb in landable-1.13.2
- old
+ new
@@ -7,24 +7,24 @@
before do
@page = create(:page)
end
# tests
- it "should soft delete a content managed Item" do
+ it 'should soft delete a content managed Item' do
# setup
current_page = Page.find(@page.id)
-
+
# actions
current_page.deactivate
# expectations
expect(current_page).to be_a Page
expect(current_page.deleted_at).to_not be_blank
-
+
# end
end
- it "should restore a content managed Item" do
+ it 'should restore a content managed Item' do
# setup
Page.find(@page.id).deactivate
restored_page = Page.find(@page.id)
# actions