Sha256: 11da54f98fc1bbdd2956dfd342ef62e56b8624731a032b7fcdf5f2b4a6a380f5

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

# encoding: utf-8

require_relative "../spec_helper"

require "pupu/pupu"
require "pupu/helpers"

describe "Helpers#pupu" do
  include Pupu::Helpers
  before(:each) do
    Pupu.root = File.dirname(__FILE__) + "/data/root/pupu"
  end

  it "should return text with assets" do
    pupu(:autocompleter).should eql(Parser.new(:autocompleter).parse!)
  end

  it "should return text with assets" do
    pupu(:autocompleter, type: "local").should eql(Parser.new(:autocompleter, type: "local").parse!)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pupu-0.2.1 spec/pupu/helpers_spec.rb
pupu-0.2 spec/pupu/helpers_spec.rb
pupu-0.1 spec/pupu/helpers_spec.rb
pupu-0.0.5.5 spec/pupu/helpers_spec.rb
pupu-0.0.5.4 spec/pupu/helpers_spec.rb
pupu-0.0.5.3 spec/pupu/helpers_spec.rb
pupu-0.0.5.2 spec/pupu/helpers_spec.rb
pupu-0.0.5.1 spec/pupu/helpers_spec.rb
pupu-0.0.5 spec/pupu/helpers_spec.rb
pupu-0.0.4.pre spec/pupu/helpers_spec.rb