bin/wally in wally-0.0.20 vs bin/wally in wally-0.0.21
- old
+ new
@@ -9,7 +9,7 @@
require "json"
features = []
Dir.glob(File.join("#{ARGV[2]}", "**/*.feature")).each do |feature_path|
features << {:path => feature_path, :content => File.read(feature_path)}
end
- RestClient.put "#{ARGV[1]}/features/?authentication_code=#{File.read(".wally")}", features.to_json
+ RestClient.put "#{ARGV[1]}/features/?authentication_code=#{File.read(".wally")}", features.to_json, {:content_type => :json, :accept => :json}
end