Sha256: 1db00026c5ac648db9ab42ac5239e5541045a4659d063cd0565ddf7afd9a7a6e
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
require 'ise' describe ISE::ProjectNavigator do describe "#most_recent_project_path" do subject { ISE::ProjectNavigator } #Adjust the preference file location so it points to the test-data preference file. let(:preference_file) { File.expand_path('../test_data/ISE.conf', __FILE__) } before(:each) { ISE::ProjectNavigator.set_preference_file(preference_file) } it "should return the path of the most recently edited ISE project file" do subject.most_recent_project_path.should == "/home/ktemkin/Documents/Projects/ISESymbolLibrary/MSI_Components/MSI_Components.xise" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-ise-1.0.0 | spec/ise/project_navigator_spec.rb |
ruby-ise-0.6.1 | spec/ise/project_navigator_spec.rb |