rspec and memory_profiler
This commit is contained in:
parent
639e200a83
commit
d09d968915
7 changed files with 18 additions and 22 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue