Git Product home page Git Product logo

optimizely-gem's People

Contributors

martijnsch avatar tei1988 avatar thomasdziedzic-pd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

optimizely-gem's Issues

Failing test test_retrieve_projects_forbidden

Using ruby 2.3 on a freshly checked out git repo.

thomas@optimizely-gem git:(master) 1≡$ bundle _1.13.6_ exec rake
Loaded suite /Users/thomas/.rvm/gems/ruby-2.3.3@global/gems/rake-10.4.2/lib/rake/rake_test_loader
Started
.......F
==============================================================================================================================================================================================================================================================================================
Failure: test_retrieve_projects_forbidden(OptimizelyTest)
/Users/thomas/work/optimizely-gem/test/test_optimizely.rb:65:in `test_retrieve_projects_forbidden'
     62:
     63:   def test_retrieve_projects_forbidden
     64:     optimizely = Optimizely.new({ api_token: '1234567890:xxxxx' })
  => 65:     assert_raise OptimizelyError::Forbidden do
     66:       optimizely.projects
     67:     end
     68:   end

<OptimizelyError::Forbidden> expected but was
<OptimizelyError::Unauthorized(<Your API token was missing or included in the body rather than the header (status code: 401).>)>

diff:
? OptimizelyError::F     orbi  d                                     de   n
?                  Unauth    ze (<Your API token was missing or inclu  d i  the body rather than the header (status code: 401).>)
==============================================================================================================================================================================================================================================================================================
..

Finished in 0.468807 seconds.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 tests, 10 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
90% passed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21.33 tests/s, 21.33 assertions/s
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/Users/thomas/.rvm/gems/ruby-2.3.3@global/gems/rake-10.4.2/lib" "/Users/thomas/.rvm/gems/ruby-2.3.3@global/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/test*.rb" ]
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `load'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `kernel_load'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:27:in `run'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli.rb:332:in `exec'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli.rb:20:in `dispatch'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/cli.rb:11:in `start'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/exe/bundle:34:in `block in <top (required)>'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/Users/thomas/.rvm/gems/ruby-2.3.3/gems/bundler-1.13.6/exe/bundle:26:in `<top (required)>'
/Users/thomas/.rvm/gems/ruby-2.3.3/bin/bundle:22:in `load'
/Users/thomas/.rvm/gems/ruby-2.3.3/bin/bundle:22:in `<main>'
/Users/thomas/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/Users/thomas/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

Please add release tags.

Please add release tags for 1.2.2 & 1.2.3.
This would help me do a diff and understand the differences between these 2 gems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.