Sha256: 965a11465d41d4bc9cf3498f536d96c7739ff24851e985f861a9dc6793f6c9cf
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
module RwikiMacros def self.included(base) base.extend(ClassMethods) end module ClassMethods include Rwiki::Utils def it_should_respond_with_success it 'should respond with success' do last_response.should be_ok end end def it_should_move_the_child_nodes(old_path, new_path) it "should move the child nodes" do Dir.exists?(FileHelper.expand_node_path(old_path)).should be_false end it "should move the child nodes to the new location" do Dir.exists?(FileHelper.expand_node_path(new_path)).should be_true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwiki-0.2.5 | spec/support/rwiki_macros.rb |