created spec for ninja.rb