Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unitário
- -----------------------------------------------------------------------------------------------------
- 1) Failure:
- test_should_not_allow_friends_of_private_person_see_the_article(ArticleTest) [/home/gabriela/Projects/noosfero/test/unit/article_test.rb:551]:
- Failed assertion, no message given.
- 2) Failure:
- test_should_say_that_member_user_can_not_see_private_article(ArticleTest) [/home/gabriela/Projects/noosfero/test/unit/article_test.rb:490]:
- Failed assertion, no message given.
- 2938 tests, 5585 assertions, 2 failures, 0 errors, 0 skips
- rake aborted!
- Command failed with status (2): [/usr/bin/ruby1.9.1 -I"lib:test" -I"/usr/li...]
- ------------------------------------------------------------------------------------------------------
- Funcional
- ------------------------------------------------------------------------------------------------------
- 1) Error:
- test_should_do_not_call_plugin_filter_block_on_a_environment_that_this_plugin_is_not_enabled(ApplicationControllerTest):
- NoMethodError: undefined method `application_controller_test_other_filter_plugin_filter_plugin' for #<TestController:0x00000009e75f00>
- /home/gabriela/Projects/noosfero/test/functional/application_controller_test.rb:540:in `block in <class:ApplicationControllerTest>'
- /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'
- 2) Failure:
- test_should_do_not_duplicate_plugin_filters(ApplicationControllerTest) [/home/gabriela/Projects/noosfero/test/functional/application_controller_test.rb:518]:
- <1> expected but was
- <0>.
- 3) Failure:
- test_should_not_give_access_to_private_articles_if_logged_in_and_only_member(ContentViewerControllerTest) [/home/gabriela/Projects/noosfero/test/functional/content_viewer_controller_test.rb:287]:
- expecting <"access_denied"> but rendering with <"content_viewer/_confirm_unfollow, content_viewer/_article_toolbar, content_viewer/folder, content_viewer/view_page, layouts/_javascript, layouts/_user, layouts/_content, shared/noosfero_layout_features, layouts/application-ng">
- 4) Failure:
- test_should_not_show_private_content_to_members(ContentViewerControllerTest) [/home/gabriela/Projects/noosfero/test/functional/content_viewer_controller_test.rb:184]:
- expecting <"access_denied"> but rendering with <"content_viewer/_confirm_unfollow, content_viewer/_article_toolbar, content_viewer/folder, content_viewer/view_page, layouts/_javascript, layouts/_user, layouts/_content, shared/noosfero_layout_features, layouts/application-ng">
- ------------------------------------------------------------------------------------------------------
- Integration
- ------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------
- Cucumber
- ------------------------------------------------------------------------------------------------------
- (::) failed steps (::)
- expected #has_no_content?("Unpublished event") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
- /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:33:in `fail_with'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:19:in `handle_matcher'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/extensions/kernel.rb:12:in `should'
- ./features/step_definitions/web_steps.rb:147:in `block (2 levels) in <top (required)>'
- ./features/step_definitions/web_steps.rb:20:in `with_scope'
- ./features/step_definitions/web_steps.rb:145:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/'
- features/events.feature:181:in `Then I should not see "Unpublished event"'
- expected [Person/334/mariasilva] to include Person/333/joaosilva
- Diff:
- @@ -1,2 +1,2 @@
- -[Person/333/joaosilva]
- +[Person/334/mariasilva]
- (RSpec::Expectations::ExpectationNotMetError)
- /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:33:in `fail_with'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:17:in `handle_matcher'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/extensions/kernel.rb:12:in `should'
- ./features/step_definitions/noosfero_steps.rb:338:in `/^"(.+)" should be a member of "(.+)"$/'
- features/login.feature:224:in `Then "Joao Silva" should be a member of "Free Software"'
- expected #has_no_content?("private article") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
- /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:33:in `fail_with'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:19:in `handle_matcher'
- /usr/lib/ruby/vendor_ruby/rspec/expectations/extensions/kernel.rb:12:in `should'
- ./features/step_definitions/web_steps.rb:147:in `block (2 levels) in <top (required)>'
- ./features/step_definitions/web_steps.rb:17:in `block in with_scope'
- /usr/lib/ruby/vendor_ruby/capybara/session.rb:224:in `within'
- /usr/lib/ruby/vendor_ruby/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
- ./features/step_definitions/web_steps.rb:16:in `with_scope'
- ./features/step_definitions/web_steps.rb:145:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/'
- features/profile_search.feature:51:in `And I should not see "private article" within ".main-block"'
- Failing Scenarios:
- cucumber features/events.feature:176 # Scenario: events that are not allowed to the user should not be displayed nor listed in the calendar
- cucumber features/login.feature:211 # Scenario: join community on login
- cucumber features/profile_search.feature:42 # Scenario: not display unpublished articles
- ------------------------------------------------------------------------------------------------------
- Cucumber selenium
- ------------------------------------------------------------------------------------------------------
- Failing Scenarios:
- cucumber -p selenium features/edit_article.feature:26 # Scenario: denied access folder for a not logged user
- cucumber -p selenium features/edit_article.feature:72 # Scenario: show exception users field when you choose the private option
- cucumber -p selenium features/edit_article.feature:93 # Scenario: allowed user should see the content of a folder
- cucumber -p selenium features/signup.feature:255 # Scenario: join community on signup
- ------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement