```ruby
require "spec_helper"

describe Nark::Plugin::Event do
  describe "#type" do
    it "stores the trigger type" do
      event = Nark::Plugin::Event.new :type => :before_call
      event.type.should eql :before_call
    end

    it "can be a string" do
      event = Nark::Plugin::Event.new :type => 'before_call'
      event.type.should eql 'before_call'
    end
  end

  describe "#method_block" do
    it "stores a block" do
      plugin_method_block = Proc.new {|p| p }
      params = {
        :type => 'before_call',
        :method_block => plugin_method_block
      }
      event = Nark::Plugin::Event.new params
      event.method_block.should eql plugin_method_block
    end

    it "throws an exception if a block is not passed"
  end

  describe "#plugin" do
    it "stores the plugin's name" do
      params = {
        :plugin => :some_plugin,
      }
      event = Nark::Plugin::Event.new params
      event.plugin.should eql :some_plugin
    end

    it "stores the plugin as a string"
  end
end
```

Remove pending spec as it is not essential yet
user
```ruby
require "spec_helper"

describe Nark::Plugin::Event do
  describe "#type" do
    it "stores the trigger type" do
      event = Nark::Plugin::Event.new :type => :before_call
      event.type.should eql :before_call
    end

    it "can be a string" do
      event = Nark::Plugin::Event.new :type => 'before_call'
      event.type.should eql 'before_call'
    end
  end

  describe "#method_block" do
    it "stores a block" do
      plugin_method_block = Proc.new {|p| p }
      params = {
        :type => 'before_call',
        :method_block => plugin_method_block
      }
      event = Nark::Plugin::Event.new params
      event.method_block.should eql plugin_method_block
    end

    it "throws an exception if a block is not passed"
  end

  describe "#plugin" do
    it "stores the plugin's name" do
      params = {
        :plugin => :some_plugin,
      }
      event = Nark::Plugin::Event.new params
      event.plugin.should eql :some_plugin
    end
  end
end
```
assistant