Sha256: 6e0e386e9e0da73925b6baeb4f8d8e2f25413e7d730303e4b212733d0b66b46c

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

require 'spec_helper'

describe Rwiki do

  describe Rwiki::Configuration do
    subject { Rwiki::Configuration.instance }
    before { subject.rwiki_path = '/tmp/rwiki_test/fixtures' }

    it { should be_instance_of(Rwiki::Configuration) }

    its(:rwiki_path) { should == '/tmp/rwiki_test/fixtures' }
    its(:root_page_name) { should == 'Home' }
    its(:root_page_path) { should == '/Home' }
    its(:page_file_extension) { should == 'txt' }

    its(:root_page_full_path) { should == '/tmp/rwiki_test/fixtures/Home' }
    its(:root_page_full_file_path) { should == '/tmp/rwiki_test/fixtures/Home.txt' }

    its(:version) { should == '0.2.4' }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.2.5 spec/rwiki_spec.rb