Sha256: 5fb910c05dcf3cbb38a19c5b26679737b6f258d35e61386a77fb6b0091d486bd

Contents?: true

Size: 423 Bytes

Versions: 16

Compression:

Stored size: 423 Bytes

Contents

require 'spec_helper'

CLASS = Rails3::Assist::Artifact::Path

class ArtDir
  include CLASS
end

describe Rails3::Assist::Artifact::Path do
  # use_helper :directories

  before do
    Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
    @test = ArtDir.new
  end

  describe '#artifact_path' do
    it "should return mailer directory name" do
      @test.artifact_path(:my_mailer, :mailer)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rails3_assist-0.3.7 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.6 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.5 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.4 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.3 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.2 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.1 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.3.0 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.13 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.12 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.11 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.10 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.9 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.8 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.7 spec/rails3_assist/artifact/path_spec.rb
rails3_assist-0.2.5 spec/rails3_assist/artifact/path_spec.rb