Sha256: 58a026f9a75d1aa50d0efd3d949a031eae82814715641bfa29fda2e887036a43
Contents?: true
Size: 692 Bytes
Versions: 2
Compression:
Stored size: 692 Bytes
Contents
require 'minitest/autorun' require 'code_rippa' describe CodeRippa do def fixtures_path File.join(File.expand_path(File.open(".")), "test", "fixtures") end before do Dir.chdir("#{fixtures_path}") end after do File.delete(File.expand_path("out.tex")) Dir.chdir("../..") end # describe ".rip_file" do # it "should rip a file that is supported" do # puts File.expand_path(File.open(".")) # CodeRippa.rip_file(File.join("#{File.expand_path(File.open("."))}", "hello.rb"), "rubyblue", "ruby") # f1 = File.open("out.tex") # f2 = File.open("rip_file.tex") # assert (f1.size - f2.size).abs < 300 # end # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
code_rippa-1.0.1 | test/test_public_methods.rb |
code_rippa-1.0.0 | test/test_public_methods.rb |