SYMBOL INDEX (197 symbols across 24 files) FILE: lib/shoulda/context/assertions.rb type Shoulda (line 1) | module Shoulda # :nodoc: type Context (line 2) | module Context type Assertions (line 3) | module Assertions function assert_same_elements (line 7) | def assert_same_elements(a1, a2, msg = nil) function assert_contains (line 24) | def assert_contains(collection, x, extra_msg = "") function assert_does_not_contain (line 37) | def assert_does_not_contain(collection, x, extra_msg = "") function assert_accepts (line 50) | def assert_accepts(matcher, target, options = {}) function assert_rejects (line 68) | def assert_rejects(matcher, target, options = {}) function safe_assert_block (line 90) | def safe_assert_block(message = "assert_block failed.", &block) FILE: lib/shoulda/context/autoload_macros.rb type Shoulda (line 1) | module Shoulda # :nodoc: function autoload_macros (line 38) | def self.autoload_macros(root, *dirs) FILE: lib/shoulda/context/configuration.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context function configure (line 3) | def self.configure function include (line 7) | def self.include(mod) function extend (line 13) | def self.extend(mod) FILE: lib/shoulda/context/context.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context class Context (line 3) | class Context # :nodoc: method subject_block (line 13) | def subject_block method initialize (line 19) | def initialize(name, parent, &blk) method merge_block (line 38) | def merge_block(&blk) method context (line 47) | def context(name, &blk) method setup (line 51) | def setup(&blk) method teardown (line 55) | def teardown(&blk) class LambdaWithLocation (line 59) | class LambdaWithLocation < Proc method initialize (line 62) | def initialize(source_location, &blk) method should (line 68) | def should(name_or_matcher, options = {}, source_location = (loc =... method should_not (line 84) | def should_not(matcher, source_location = (loc = caller_locations(... method should_eventually (line 91) | def should_eventually(name, &blk) method subject (line 95) | def subject(&block) method full_name (line 99) | def full_name method am_subcontext? (line 104) | def am_subcontext? method test_unit_class (line 108) | def test_unit_class method test_methods (line 112) | def test_methods method create_test_from_should_hash (line 118) | def create_test_from_should_hash(should) method build_test_name_from (line 153) | def build_test_name_from(should) method run_all_setup_blocks (line 162) | def run_all_setup_blocks(binding) method run_parent_setup_blocks (line 167) | def run_parent_setup_blocks(binding) method run_current_setup_blocks (line 171) | def run_current_setup_blocks(binding) method run_all_teardown_blocks (line 182) | def run_all_teardown_blocks(binding) method print_should_eventuallys (line 194) | def print_should_eventuallys method build (line 201) | def build method test_name_prefix (line 211) | def test_name_prefix method method_missing (line 219) | def method_missing(method, *args, &blk) class DuplicateTestError (line 224) | class DuplicateTestError < RuntimeError; end FILE: lib/shoulda/context/dsl.rb type Shoulda (line 3) | module Shoulda type Context (line 4) | module Context type DSL (line 5) | module DSL function included (line 6) | def self.included(base) type ClassMethods (line 14) | module ClassMethods function should (line 64) | def should(name_or_matcher, options = {}, source_location = (loc... function should_not (line 84) | def should_not(matcher, source_location = (loc = caller_location... function before_should (line 123) | def before_should(name, &blk) function should_eventually (line 128) | def should_eventually(name, options = {}, &blk) function context (line 190) | def context(name, &blk) function described_type (line 203) | def described_type function subject (line 220) | def subject(&block) function subject_block (line 224) | def subject_block # :nodoc: type InstanceMethods (line 229) | module InstanceMethods function subject (line 249) | def subject function subject_block (line 253) | def subject_block # :nodoc: function get_instance_of (line 257) | def get_instance_of(object_or_klass) # :nodoc: function instance_variable_name_for (line 265) | def instance_variable_name_for(klass) # :nodoc: function construct_subject (line 271) | def construct_subject FILE: lib/shoulda/context/proc_extensions.rb class Proc (line 3) | class Proc #:nodoc: method bind (line 4) | def bind(object) FILE: lib/shoulda/context/railtie.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context class Railtie (line 3) | class Railtie < Rails::Railtie FILE: lib/shoulda/context/tasks/yaml_to_shoulda.rake function yaml_to_context (line 8) | def yaml_to_context(hash, indent = 0) FILE: lib/shoulda/context/test_framework_detection.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context type TestFrameworkDetection (line 3) | module TestFrameworkDetection function possible_test_frameworks (line 4) | def self.possible_test_frameworks function resolve_framework (line 12) | def self.resolve_framework(future_framework) function detected_test_framework_test_cases (line 18) | def self.detected_test_framework_test_cases function test_framework_test_cases (line 24) | def self.test_framework_test_cases function test_framework_test_cases (line 29) | def self.test_framework_test_cases FILE: lib/shoulda/context/version.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context FILE: lib/shoulda/context/world.rb type Shoulda (line 1) | module Shoulda type Context (line 2) | module Context function contexts (line 4) | def contexts # :nodoc: function current_context (line 9) | def current_context # :nodoc: function add_context (line 13) | def add_context(context) # :nodoc: function remove_context (line 17) | def remove_context # :nodoc: FILE: test/fake_rails_root/test/shoulda_macros/custom_macro.rb type CustomMacro (line 1) | module CustomMacro function custom_macro (line 2) | def custom_macro FILE: test/fake_rails_root/vendor/gems/gem_with_macro-0.0.1/shoulda_macros/gem_macro.rb type GemMacro (line 1) | module GemMacro function gem_macro (line 2) | def gem_macro FILE: test/fake_rails_root/vendor/plugins/plugin_with_macro/shoulda_macros/plugin_macro.rb type PluginMacro (line 1) | module PluginMacro function plugin_macro (line 2) | def plugin_macro FILE: test/shoulda/autoload_macro_test.rb class AutoloadMacroTest (line 3) | class AutoloadMacroTest < PARENT_TEST_CASE FILE: test/shoulda/context_test.rb class ContextTest (line 3) | class ContextTest < PARENT_TEST_CASE method context_macro (line 4) | def self.context_macro(&blk) method hello (line 71) | def hello; "hi"; end class ::SomeModel (line 138) | class ::SomeModel; end method normalized_name (line 168) | def normalized_name class ::Some (line 173) | class ::Some class NestedModel (line 174) | class NestedModel; end class Some::NestedModelTest (line 177) | class Some::NestedModelTest < PARENT_TEST_CASE class Some::SomeTest (line 183) | class Some::SomeTest < PARENT_TEST_CASE class ShouldMatcherTest (line 191) | class ShouldMatcherTest < PARENT_TEST_CASE class FakeMatcher (line 192) | class FakeMatcher method description (line 196) | def description method matches? (line 200) | def matches?(subject) method failure_message (line 205) | def failure_message method failure_message_when_negated (line 209) | def failure_message_when_negated method setup (line 214) | def setup method assert_failed_with (line 218) | def assert_failed_with(message, test_suite) method assert_passed (line 222) | def assert_passed(test_suite) method assert_test_named (line 226) | def assert_test_named(expected_name, test_suite) method should_use_positive_matcher (line 234) | def self.should_use_positive_matcher method should_use_negative_matcher (line 258) | def self.should_use_negative_matcher class TestSuite (line 334) | class TestSuite method create (line 335) | def self.create(&definition) class TestUnitSuite (line 344) | class TestUnitSuite method initialize (line 345) | def initialize(&definition) method run (line 350) | def run method failure_messages (line 356) | def failure_messages method test_names (line 360) | def test_names class MinitestSuite (line 365) | class MinitestSuite method initialize (line 366) | def initialize(&definition) method run (line 371) | def run method failure_messages (line 375) | def failure_messages method test_names (line 379) | def test_names class Subject (line 385) | class Subject; end class SubjectTest (line 387) | class SubjectTest < PARENT_TEST_CASE method setup (line 389) | def setup class SubjectLazinessTest (line 400) | class SubjectLazinessTest < PARENT_TEST_CASE FILE: test/shoulda/convert_to_should_syntax_test.rb class ConvertToShouldSyntaxTest (line 3) | class ConvertToShouldSyntaxTest < PARENT_TEST_CASE method test_convert_to_should_syntax (line 48) | def test_convert_to_should_syntax method teardown (line 58) | def teardown FILE: test/shoulda/helpers_test.rb class HelpersTest (line 3) | class HelpersTest < PARENT_TEST_CASE FILE: test/shoulda/railtie_test.rb class RailtieTest (line 3) | class RailtieTest < PARENT_TEST_CASE method app (line 40) | def app FILE: test/shoulda/rerun_snippet_test.rb class RerunSnippetTest (line 3) | class RerunSnippetTest < PARENT_TEST_CASE method app (line 56) | def app method rails_version (line 60) | def rails_version FILE: test/shoulda/should_test.rb class ShouldTest (line 3) | class ShouldTest < PARENT_TEST_CASE method should_see_class_methods (line 12) | def self.should_see_class_methods method should_be_able_to_setup_a_should_eventually_in_a_class_method (line 18) | def self.should_be_able_to_setup_a_should_eventually_in_a_class_method method should_see_a_context_block_like_a_test_case_class (line 22) | def self.should_see_a_context_block_like_a_test_case_class method should_see_blah (line 28) | def self.should_see_blah method should_not_see_blah (line 34) | def self.should_not_see_blah method should_be_able_to_make_context_macros (line 40) | def self.should_be_able_to_make_context_macros(prefix = nil) method test_should_create_a_new_context (line 152) | def test_should_create_a_new_context method test_should_create_a_new_context_even_if_block_is_omitted (line 158) | def test_should_create_a_new_context_even_if_block_is_omitted method test_should_create_a_nested_context (line 167) | def test_should_create_a_nested_context method test_should_name_a_contexts_correctly (line 175) | def test_should_name_a_contexts_correctly method test_should_raise_on_duplicate_naming (line 185) | def test_should_raise_on_duplicate_naming method test_should_have_should_hashes_when_given_should_statements (line 197) | def test_should_have_should_hashes_when_given_should_statements method test_should_capture_setup_and_teardown_blocks (line 209) | def test_should_capture_setup_and_teardown_blocks method test_should_create_shoulda_test_for_each_should_on_build (line 221) | def test_should_create_shoulda_test_for_each_should_on_build method test_should_create_test_methods_on_build (line 231) | def test_should_create_test_methods_on_build method test_should_create_test_methods_on_build_when_subcontext (line 245) | def test_should_create_test_methods_on_build_when_subcontext method test_should_create_a_new_context_and_build_it_on_test_case_context (line 265) | def test_should_create_a_new_context_and_build_it_on_test_case_context method test_should_create_a_one_off_context_and_build_it_on_test_case_should (line 272) | def test_should_create_a_one_off_context_and_build_it_on_test_case_should method test_should_create_a_one_off_context_and_build_it_on_test_case_should_eventually (line 279) | def test_should_create_a_one_off_context_and_build_it_on_test_case_sho... method test_name (line 328) | def test_name method build_expected_test_name (line 332) | def build_expected_test_name(value) method assert_nothing_raised (line 348) | def assert_nothing_raised class RedTestarossaDriver (line 353) | class RedTestarossaDriver; end class RedTestarossaDriverTest (line 355) | class RedTestarossaDriverTest < PARENT_TEST_CASE class DummyMatcher (line 356) | class DummyMatcher method description (line 357) | def description method matches? (line 361) | def matches?(*) method failure_message_when_negated (line 365) | def failure_message_when_negated method test_should_property_construct_test_name_for_should_eventually (line 385) | def test_should_property_construct_test_name_for_should_eventually method test_should_property_construct_test_name_for_should_not (line 398) | def test_should_property_construct_test_name_for_should_not method test_name (line 413) | def test_name method build_expected_test_name (line 417) | def build_expected_test_name(value) FILE: test/shoulda/test_framework_detection_test.rb class TestFrameworkDetectionTest (line 4) | class TestFrameworkDetectionTest < PARENT_TEST_CASE method assert_integration_with_rails_and (line 22) | def assert_integration_with_rails_and(*test_cases) method assert_integration_with (line 38) | def assert_integration_with(*test_cases) method assert_test_cases_are_detected (line 43) | def assert_test_cases_are_detected(*expected_test_cases) method file_that_detects_test_framework_test_cases (line 51) | def file_that_detects_test_framework_test_cases(mixins) method require_gems (line 63) | def require_gems(mixins) method assert_our_api_is_available_in_test_cases (line 75) | def assert_our_api_is_available_in_test_cases(*test_cases) method file_that_runs_a_test_within_test_case (line 90) | def file_that_runs_a_test_within_test_case(test_case, mixins) method execute (line 104) | def execute(code) FILE: test/support/current_bundle.rb type Tests (line 4) | module Tests class CurrentBundle (line 5) | class CurrentBundle method assert_appraisal! (line 10) | def assert_appraisal! method appraisal_in_use? (line 23) | def appraisal_in_use? method current_or_latest_appraisal (line 27) | def current_or_latest_appraisal method latest_appraisal (line 31) | def latest_appraisal method current_appraisal (line 35) | def current_appraisal method available_appraisals (line 43) | def available_appraisals method path (line 53) | def path method root (line 57) | def root FILE: test/support/rails_application_with_shoulda_context.rb class RailsApplicationWithShouldaContext (line 3) | class RailsApplicationWithShouldaContext < Snowglobe::RailsApplication method create (line 6) | def create method test_framework_require_path (line 15) | def test_framework_require_path method create_gem_with_macro (line 23) | def create_gem_with_macro(module_name:, location:, macro_name:) method test_framework_gem_name (line 39) | def test_framework_gem_name