Sha256: fdc78b010873497a6481d86e700acdb5fea17e020c5f200328c4d04f15cbe1b6

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 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.2 spec/java_autotest/file_spec.rb