Sha256: ad8e9323460f34d17456116e7517cef9b94caf1ac81f553e0ffc83c82b3ae69b

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")

describe File do
	
	context "find java files in source folder" do
		before(:each) do
      @files = File.find_java_files("spec/src")
		end
	
		it "should find impl file" do
  		@files[0].should == "spec/src/main/java/Impl.java"
    end
  		
  	it "should find test file" do
  	  @files[1].should == "spec/src/test/java/ImplTest.java"
  	end
	end
	
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
java-autotest-0.0.1 spec/java_autotest/file_spec.rb