Sha256: 6d671dcade6db333a6cf5c7cd83e991287873d118d2735385a64a1ad1d1b55ed

Contents?: true

Size: 733 Bytes

Versions: 1

Compression:

Stored size: 733 Bytes

Contents

#require 'spec_helper'
#load 'ro_cells/opal.rb'
#
#class Klass
#  include ::RoCells::OpalHelper
#end
#
#describe "Opal" do
#  let(:o) do
#    Klass.new
#  end
#
#  before do
#    cdfix "opal"
#    RoFaker.flow do |f|
#      f.f "test.rb", <<-CONTENT
#    		puts "what's the fuck?"
#      CONTENT
#    end
#
#    allow(o).to receive(:default_dir).and_return(Dir.pwd)
#  end
#
#  it "#handle_single" do
#    result = o.send(:"handle_single", "test.rb")
#    expect(File).to exist "test.js"
#  end
#
#  it "#delete_all_js" do
#    RoFaker.flow do |f|
#      f.f "try.js"
#      f.f "try2.js"
#      f.f "try3.js"
#    end
#
#    allow(o).to receive(:default_dir).and_return(Dir.pwd)
#    result = o.send(:"delete_all_js")
#  end
#end
#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rrjj-0.0.1 spec/lib/ro_cells/opal_spec.rb