spec/image/params_spec.rb in cheapredwine-0.2.0 vs spec/image/params_spec.rb in cheapredwine-0.3.1
- old
+ new
@@ -1,14 +1,12 @@
require 'cheapredwine/image/params'
-include CheapRedWine::Image
-
-describe Params do
+describe CheapRedWine::Image::Params do
it "takes a bunch of options" do
font = double
features = ['kern', 'aalt', 'onum', 'liga']
- params = Params.new(
+ params = CheapRedWine::Image::Params.new(
font: font,
color: 'black',
features: features,
text: 'Lorem ipsum',
size: 26