Sha256: a5ad0f0a4ae09c111a878c469213211effb44fe7cc82e8e2b7d1c40b79ede0e6
Contents?: true
Size: 527 Bytes
Versions: 3
Compression:
Stored size: 527 Bytes
Contents
require 'spec_helper' SimpleCov.command_name('ParsedDirectory') unless RUBY_VERSION.to_s < '1.9.0' describe "ParsedDirectory" do it 'knows its parent element' do directory = @default_file_directory nested_directory = "#{directory}/nested_directory" FileUtils.mkdir(nested_directory) directory = CucumberAnalytics::ParsedDirectory.new(@default_file_directory) nested_directory = directory.feature_directories.first nested_directory.parent_element.should equal directory end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-0.0.9 | spec/directory_spec.rb |
cucumber_analytics-0.0.8 | spec/directory_spec.rb |
cucumber_analytics-0.0.7 | spec/directory_spec.rb |