mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-27 07:37:01 -05:00
rspec and memory_profiler
This commit is contained in:
BIN
spec/data/0xabad1dea.model
Normal file
BIN
spec/data/0xabad1dea.model
Normal file
Binary file not shown.
8
spec/model_spec.rb
Normal file
8
spec/model_spec.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
require 'spec_helper'
|
||||
require 'objspace'
|
||||
|
||||
describe Ebooks::Model do
|
||||
it "does stuff" do
|
||||
model = Ebooks::Model.load(path("data/0xabad1dea.model"))
|
||||
end
|
||||
end
|
||||
5
spec/spec_helper.rb
Normal file
5
spec/spec_helper.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
require 'twitter_ebooks'
|
||||
|
||||
def path(relpath)
|
||||
File.join(File.dirname(__FILE__), relpath)
|
||||
end
|
||||
Reference in New Issue
Block a user